Page MenuHomePhabricator

Add an ability for uselang
Open, LowestPublic3 Estimated Story PointsFeature

Description

Hi. For now, in the script, clicking on the start link opens a pseudoblank page on the current wiki. When the extension will be uploaded to Meta only, clicking on a link on local wiki will open the Special page on Meta, using page language as defined there. I ask to add to global configuration an ability to define another language, so the link will not be https://meta.wikimedia.org/wiki/Special:GW, as expected, but https://meta.wikimedia.org/wiki/Special:GW?uselang=<language_in_configuration>. Thank you.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
IKhitron changed the subtype of this task from "Task" to "Feature Request".Jan 21 2021, 3:21 PM

@IKhitron no other special page has handling so that links to it are shown with a uselang parameter, and without the uselang parameter the global watchlist will be shown according to the language set it your preferences, not the page/content language of the wiki. I don't really understand why this is needed or useful

@IKhitron no other special page has handling so that links to it are shown with a uselang parameter, and without the uselang parameter the global watchlist will be shown according to the language set it your preferences, not the page/content language of the wiki. I don't really understand why this is needed or useful

Here it is needed because of the extension character, not like on other special pages. Here is an example for you. I have my local wiki on the language I speak. I have meta wiki on English. I'd like to see the list on Meta on my local language, especially because of Wikidata labels, but not just them.

DannyS712 triaged this task as Lowest priority.Jan 21 2021, 5:01 PM
DannyS712 moved this task from Unsorted to Later on the User-DannyS712 board.
DannyS712 set the point value for this task to 3.

@IKhitron no other special page has handling so that links to it are shown with a uselang parameter, and without the uselang parameter the global watchlist will be shown according to the language set it your preferences, not the page/content language of the wiki. I don't really understand why this is needed or useful

Here it is needed because of the extension character, not like on other special pages. Here is an example for you. I have my local wiki on the language I speak. I have meta wiki on English. I'd like to see the list on Meta on my local language, especially because of Wikidata labels, but not just them.

Okay, that explanation makes sense. I'm currently focused on getting the extension deployed, but I'll try to work on this at some point (and of course, you're welcome to submit your own patch)

Thanks. I do not think I am able to do it by myself.