Problem
Proposed Solution
SpecialPageFactory::getLocalNameFor() always uses the content language to determine the "local" name, the same should be done for the URLs in for the subpages in Special:Investigate
dbarratt | |
Jul 31 2020, 9:29 PM |
F31866857: enqueter.png | |
Jul 31 2020, 9:30 PM |
Problem
Proposed Solution
SpecialPageFactory::getLocalNameFor() always uses the content language to determine the "local" name, the same should be done for the URLs in for the subpages in Special:Investigate
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Use the content language for the Special:Investigate tab urls. | mediawiki/extensions/CheckUser | master | +18 -6 |
Change 617773 had a related patch set uploaded (by Dbarratt; owner: Dbarratt):
[mediawiki/extensions/CheckUser@master] Use the content language for the Special:Investigate tab urls.
Change 617773 merged by jenkins-bot:
[mediawiki/extensions/CheckUser@master] Use the content language for the Special:Investigate tab urls.
On all three tabs, I experimented changing the language (through uselang in the URL and Special:Preferences) and refreshing the page.
The correct page was always displayed.
The URL always stays in English.
Test environment: https://test.wikipedia.org MediaWiki 1.36.0-wmf.3 (rMW08bcb82e3cfc) 18:13, 6 August 2020; CheckUser 2.5 (aeb6ef5) 21:28, 3 August 2020