Page MenuHomePhabricator

Variants label on kk.wikipedia shows "disable" instead of currently chosen variant
Closed, ResolvedPublic

Description

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

Event Timeline

Aklapper renamed this task from Variants label on kk.wikipedia shows "disabled" instead of currently chosen variant to Variants label on kk.wikipedia shows "disable" instead of currently chosen variant.Jun 13 2020, 7:04 PM
Aklapper updated the task description. (Show Details)
Jdlrobson added a subscriber: Jdlrobson.

Not 100% sure what's going on here. Maybe language team know?

Nikerabbit added subscribers: Amire80, Nikerabbit.

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

Screen Shot 2021-02-25 at 4.10.54 PM.png (702×1 px, 188 KB)

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.

Jdlrobson added a subscriber: ovasileva.

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.

It seems this issue have been fixed?

Looks fixed to me.