Jump to content

Community Wishlist Survey 2022/Wikidata/Do not follow sitelink redirects when redirect badge is used/Proposal/en

From Meta, a Wikimedia project coordination wiki
  • Problem:
    The red arrow points to the intentional sitelink to redirect (Q70894304) badge. The green arrow points to the badge selector icon which can be used to add badges.
    Sitelinks to redirects that appear as a result of a Wikimedia page being converted into a redirect page in the corresponding Wikimedia project should be tagged with the sitelink to redirect (Q70893996) badge. When intentionally adding a new sitelink to a redirect on Wikidata, the redirect should be tagged with the badge intentional sitelink to redirect (Q70894304). Usage of both badges is accessible via WDQS.

    A review of unbadged redirect sitelinks and sitelinks with the sitelink to redirect (Q70893996) badge, but without the intentional sitelink to redirect (Q70894304) badge allows a removal of invalid redirect sitelinks or an upgrade to the intentional sitelink to redirect (Q70894304) badge in case the redirect sitelink is valid and should be kept permanently.

    Currently, redirect pages on Wikimedia projects can still not be connected to Wikidata items as sitelinks. As long as the technical possibility of adding Wikidata items directly is not implemented it is required to use a workaround as follows (please mind that this workaround is controversial in some projects and may lead to complaints):

  1. The user has to first make an edit at the Wikimedia project that deactivates the redirect (e.g. by removing the hash symbol from #REDIRECT to REDIRECT)
  2. The sitelink can now be added to the Wikidata item, including the desired redirect badge; this cannot be done when the page is an active redirect page
  3. Finally, the deactivated redirect page has to be activated again by undoing the edit from step 1.
  • Proposed solution: We want to allow sitelinks to redirects but only under certain conditions. In detail this means:

    The default behavior always tries to normalize sitelinks (following redirects) and thus these sitelinks are rejected in cases where the target of the redirect is already a sitelink. A sitelink to a redirected pages can be added to an Item if and only if a redirect badge (sitelink to redirect - sitelink to redirect (Q70893996), intentional sitelink to redirect - intentional sitelink to redirect (Q70894304)) is added in the same edit. Adding a redirect badge to an existing redirect sitelink should be possible. Removing a redirect badge from a sitelink that points to a redirected page should be disallowed.

  • Who would benefit: All users who work with connecting Wikipedia pages to Wikidata items
  • More comments:
  • Phabricator tickets: phab:T278962
  • Proposer: Heanor (talk) 20:49, 10 January 2022 (UTC)[reply]