Community Wishlist Survey 2022/Wikidata/Do not follow sitelink redirects when redirect badge is used
Do not follow sitelink redirects when redirect badge is used
- Problem: 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):
- 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)
- 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
- 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)
Discussion
- Some history of this topic:
- 2015: Community Wishlist Survey 2015/Wikidata#Allow Redirects to be linked to Wikidata items (9 votes)
- 2017–2018: d:Wikidata:Requests for comment/Allow the creation of links to redirects in Wikidata (93 / 33 votes)
- 2020: Community Wishlist Survey 2021/Wikidata/Link Wikipedia redirects to Wikidata items (65 votes)
- 2020: d:Wikidata:Requests for comment/Adopt Help:SitelinksToRedirects as policy (9 / 1 votes)
- 2021: Create wikidata badges to indicate when sitelinks point to Wikipedia redirect pages (phab:T235420) task resolved
- 2021: do not follow sitelink redirects when redirect badge is used (phab:T278962) task was created and the work started, but apparently abandoned
- I think we need this final step to start linking redirects properly. — putnik 22:54, 10 January 2022 (UTC)
- Just unlock the save button when any extant mainspace title is in the input box, without checking whether it is a redirect. It got 65 votes last year, we've been asking for it since 2015, and implementation seems as trivial as these things can get given the need for proper testing. Certes (talk) 18:54, 11 January 2022 (UTC)
- (this is not a vote, but primarily an alternative proposal about the "how") Support with modifications. Discard the badges at wikidata and use magic tag
__VALIDREDIRECT__
on the linked wiki page instead. Let wikidata autodetect "redirect to page" vs "redirect to section" and display appropriate icon, and autodetect the presence of__VALIDREDIRECT__
and other details with a tri-state verdict- "intentional redirect" (
__VALIDREDIRECT__
present, target of redirect linked to wikidata)
- "intentional redirect" (
- vs
- "dubious redirect" (redirect but magic tag missing)
- vs
- "misuse of VALIDREDIRECT" (target of the redirect is an empty page, or a redirect, or a page (not section) not linked to wikidata).
- Make it as simple as possible. The originally intended solution with 2 independent badges allows for a large number of dubious states. Taylor 49 (talk) 21:40, 14 January 2022 (UTC)
- There's actually already an outline on how this should work, so I doubt that the development team would consider alternatives to it (provided that it ever addresses this issue). --Nw520 (talk) 18:04, 15 January 2022 (UTC)
- (this is not a vote, but primarily an alternative proposal about the "how") Support with modifications. Discard the badges at wikidata and use magic tag
- Just unlock the save button when any extant mainspace title is in the input box, without checking whether it is a redirect. It got 65 votes last year, we've been asking for it since 2015, and implementation seems as trivial as these things can get given the need for proper testing. Certes (talk) 18:54, 11 January 2022 (UTC)
- Honestly, I'm dumbfounded that this hasn't been implemented yet. It took a full 7 months to receive any response from Wikidata's PO to a volunteer's patch that would've resolved this issue. At this point the community shouldn't even have to ask for addressing of this issue. --Nw520 (talk) 18:04, 15 January 2022 (UTC)
Voting
- Support particularly the part about avoiding the need to remove a redirect to be able to link to it from Wikidata - fixing that is long overdue. Mike Peel (talk) 18:45, 28 January 2022 (UTC)
- Support * Pppery * it has begun 18:56, 28 January 2022 (UTC)
- Support — Draceane talkcontrib. 22:24, 28 January 2022 (UTC)
- Support Certes (talk) 02:02, 29 January 2022 (UTC)
- Support More attention is needed to Wikidata and redirects. {{u|Sdkb}} talk 03:47, 29 January 2022 (UTC)
- Support Aca (talk) 15:47, 29 January 2022 (UTC)
- Support — putnik 15:50, 29 January 2022 (UTC)
- Support Not sure what the best solution is but temporarily deactivating redirects should not be necessary. —Dexxor (talk) 16:50, 29 January 2022 (UTC)
- Support --Epìdosis 20:53, 29 January 2022 (UTC)
- Support--Alexmar983 (talk) 21:10, 29 January 2022 (UTC)
- Support Nw520 (talk) 23:16, 29 January 2022 (UTC)
- Support josecurioso ❯❯❯ Tell me! 00:41, 30 January 2022 (UTC)
- Support --Hsarrazin (talk) 07:09, 31 January 2022 (UTC)
- Support ArthurPSmith (talk) 15:57, 31 January 2022 (UTC)
- Support JAn Dudík (talk) 21:33, 31 January 2022 (UTC)
- Support Seini.coe (talk) 18:07, 2 February 2022 (UTC)
- Support preferably by means of the
__VALIDREDIRECT__
magic string. Taylor 49 (talk) 00:02, 3 February 2022 (UTC) - Support --MarieVirtuElle (talk) 01:49, 3 February 2022 (UTC)
- Support - Darwin Ahoy! 20:28, 4 February 2022 (UTC)
- Support Pelagic (talk) 05:43, 5 February 2022 (UTC)
- Support Kpjas (talk) 13:37, 5 February 2022 (UTC)
- Support--Vulp❯❯❯here! 09:22, 6 February 2022 (UTC)
- Support —— Eric Liu(Talk) 10:10, 6 February 2022 (UTC)
- Support --Luan (discussão) 14:44, 6 February 2022 (UTC)
- Support Ayumu Ozaki (talk) 04:09, 7 February 2022 (UTC)
- Support Heanor (talk) 13:29, 8 February 2022 (UTC)
- Support 白布飘扬 (talk) 19:56, 8 February 2022 (UTC)
- Support — DaxServer (t · c) 14:53, 10 February 2022 (UTC)
- Support Dipsacus fullonum (talk) 23:34, 10 February 2022 (UTC)