Page MenuHomePhabricator

Add an ability for uselang
Open, HighPublic3 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.

Test wiki created on Patch demo by IKhitron using patch(es) linked to this task:
https://4761afa0c2.catalyst.wmcloud.org/w/

IKhitron raised the priority of this task from Lowest to Low.Jan 3 2026, 11:14 AM

Change #1222698 had a related patch set uploaded (by IKhitron; author: IKhitron):

[mediawiki/extensions/GlobalWatchlist@master] Add an ability for uselang

https://gerrit.wikimedia.org/r/1222698

Well, it works. I need to do more to make it right, but it's just little things.

IKhitron raised the priority of this task from Low to Medium.Jan 4 2026, 9:01 PM
IKhitron raised the priority of this task from Medium to High.Jan 6 2026, 3:24 PM
IKhitron moved this task from Gerrit WIP to Ready to review on the User-IKhitron board.

Test wiki on Patch demo by IKhitron using patch(es) linked to this task was deleted:

https://4761afa0c2.catalyst.wmcloud.org/w/