Forward according to user's preferred language on Special:GoToLinkedPage
Open, NormalPublic

Description

A suggested improvement to Special:GoToLinkedPage is to add an option to automatically link to the user's preferred language (Accept-Language header?). This method when the wiki sitelink group (without language code) is passed as argument. Example:
Special:GoToLinkedPage/wiki/Qxxx

If no language was detected or there were no language links present in the item for the detected language, the fallback behavior should be to forward to the corresponding sitelink section of the item page.


Version: unspecified
Whiteboard: u=dev c=backend p=0
See Also:
T65463: QRpedia should point to Wikidata entity
T72127: Error messages for Special:GoToLinkedPage when requested target doesn't exist

Details

Reference
bz70159
bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz70159.
bzimport added a subscriber: Unknown Object (MLST).
Micru created this task.Aug 29 2014, 7:54 AM

It should not link to the sitelink section but just to the item in general.

Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 27 2015, 5:47 AM
matej_suchanek set Security to None.
hoo added a subscriber: hoo.Jul 8 2016, 12:21 AM

My usecase is that I'd like to give people a language-neutral link instead of just linking to en.wp.

I propose making the URL routing for the special page like:

  • Special:GoToLinkedPage/enwiki/Q42: current, when you know the site
  • Special:GoToLinkedPage/Q42 : auto-detect language, if there are multiple sites with that language code (e.g. en.wp, en.voy), go to the item
  • Special:GoToLinkedPage/Q42?project=wikipedia: auto-detect language, but only look at sites in that project group.

In all cases we'd apply the normal MW language fallback chain. If we still can't find a matching sitelink, go to the item.