After deployment of MediaWiki_1.35/wmf.30, for ALL Wikimedia Projects that utilize LanguageConverter, when the skin is set to Vector, which is the default skin, the variant drop-down menu no longer contains all language variant options. This only exists in Vector skin due to the recent refactoring of the dropdown menu (T249372). This bug does not appear in all other skin.
When not logged in
The variant drop-down menu will only display the default language variant choice, defined by $wgDefaultLanguageVariant and all of its fallback variant options.
For example:
*On Chinese Wikipedia, the LanguageConverter will only display zh-hans-cn, zh-hans, zh-hant, no-conversion.
*On Serbian Wikipedia, the LanguageConverter will only display sr-el.
When logged in
The variant drop-down menu will only display language variant choice user choice in the preference. If the user did not set their preferred language variant, the variant drop-down menu only populate the language variant defined by $wgDefaultLanguageVariant and all of its fallback variant options.
Expected
The variant drop-down menu should contain all language variants the LanguageConverter support.
Below is the original ticket description
There are 9 options in variant drop-down menu:
https://zh.wikipedia.org/w/index.php?title=Wikipedia:%E9%A6%96%E9%A1%B5&variant=zh-tw&safemode=1
- 不转换 (zh)
- 简体 (zh-hans)
- 繁體 (zh-hant)
- 大陆简体 (zh-cn)
- 香港繁體 (zh-hk)
- 澳門繁體 (zh-mo)
- 大马简体 (zh-my)
- 新加坡简体 (zh-sg)
- 臺灣正體 (zh-tw)
However, when I choose other variant, there are fewer options.
https://zh.wikipedia.org/w/index.php?title=Wikipedia:%E9%A6%96%E9%A1%B5&variant=zh-hk&safemode=1
Expected: Same options for all variants.