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.
Description
Details
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Add support for configurable uselang | Gerrit Patch Uploader | mediawiki/extensions/GlobalWatchlist | master | +106 -13 |
Related Objects
Event Timeline
@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)
Test wiki created on Patch demo by IKhitron using patch(es) linked to this task:
https://4761afa0c2.catalyst.wmcloud.org/w/
Change #1222698 had a related patch set uploaded (by IKhitron; author: IKhitron):
[mediawiki/extensions/GlobalWatchlist@master] Add an ability for uselang