Go to https://kk.wikipedia.org/
See that the variants dropdown shows disable instead of the first item
Go to https://sr.wikipedia.org/
See that the Variants dropdown correctly shows the current, default, first item
Aklapper | |
Jun 13 2020, 6:58 PM |
F34123124: Screen Shot 2021-02-25 at 4.10.54 PM.png | |
Feb 26 2021, 12:29 AM |
Go to https://kk.wikipedia.org/
See that the variants dropdown shows disable instead of the first item
Go to https://sr.wikipedia.org/
See that the Variants dropdown correctly shows the current, default, first item
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T282525 Consider reducing the number of Kazakh language variants | |||
Invalid | None | T282526 Improve the display of the Kazakh language variants on the desktop | |||
Resolved | Nikerabbit | T282520 Fix unnecessary "disable" variants from the Kazakh Wikipedia on mobile web | |||
Resolved | sgrabarczuk | T255350 Variants label on kk.wikipedia shows "disable" instead of currently chosen variant | |||
Resolved | Nikerabbit | T66534 Remaining "disable"s in variantname-* | |||
Resolved | BUG REPORT | Nikerabbit | T285073 Restore variant name translations | ||
Open | None | T332465 Reimplement: disable display of language variants in variant menu without using CSS custmization |
Per Language-Team, we do not maintain language converter due to lack of knowledge how it works.
I did, however, look where the message came from and found https://gerrit.wikimedia.org/g/mediawiki/core/+/51710d36681c46a92b4fdccd709dee9960773468/languages/i18n/kk.json#22
https://translatewiki.net/w/i.php?title=MediaWiki:Variantname-kk/kk&action=history shows it did not come from translatewiki.net
Apparently it has been so since 2007. https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/b03b99615ef7b308219571f11a03e952a82c2339%5E%21/languages/messages/MessagesKk.php
I also noticed they seem to have some JavaScript running on kkwikipedia to hide "disabled" in monobook and modern skins. I don't see it in Timeless, so maybe there too. Maybe they had it for Vector too but it got broken?
Could ask the community why is it like that, or find a translator who can provide a proper label for the message.
Maybe just rename variantname-kk to ‘unconverted’, which is what Chinese does in https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/languages/i18n/zh.json. This should help reduce confusion.
Easily replicated by:
$wgLanguageCode = 'kk';
This also happens on ike-latn language code.
The disable keyword has no meaning in the MediaWiki codebase and as @Nikerabbit says is in this weird state due to user scripts (its hidden in https://kk.wikipedia.org/wiki/%D0%9C%D0%B5%D0%B4%D0%B8%D0%B0%D0%A3%D0%B8%D0%BA%D0%B8:Common.js)
With safe mode on I see various menu items called "disable"
https://kk.wikipedia.org/wiki/%D0%91%D0%B0%D1%81%D1%82%D1%8B_%D0%B1%D0%B5%D1%82?safemode=1
if the variants are not being used perhaps its better to drop them completely from the software.
If we want to add support we should talk to the kk community to understand their motives here. Otherwise I suggest we close this task as INVALID.
i talked with Olga today about this in my one-on-one. We plan to resolve this as invalid, but we'd like to do a bit of community outreach here. Olga will bring it up in her next 1-on-1 with Szymon.
"disable" originally means not showing the varinat in the variant menu. However, the functionality has been removed a while ago.