Minerva Neue: Stop mixing variant names with language names in the language overlay.
Using variant names as language names were confusing, it caused issues like "Missing in 'Unconverted (language variant)' >".
We should stop mixing them.
This includes:
- The language selection menu
- Go to any zh wiki with MobileFrontend extension and Minerva Neue skin
- Click the language menu icon / button where the page has interlanguage links
- The language names and the language variant names were mixed together
- The "Missing in <language name>" notice
- Go to any non-zh wiki, which enabled ContentTranslation and have linked to a zh wiki, with zh-* Accept-Language header
- Click the language menu icon / button where the page haven't linked to a zh page
- It shows a "Missing in <language variant name>" notice
Reported by: Levi (列维劳德)
The language selection menu:
The "Missing in <language name>" notice:
Solution:
QA steps
Test case 1
Visit https://zh.m.wikipedia.org/wiki/%E9%A9%AC%E4%BF%AE%C2%B7%E8%B4%B9%E6%96%AF%E6%B1%80 and click the language button
Expected: 大陆简体 appears once in list of language variants.
Actual: 大陆简体 appears in language variants AND language list
Test case 2
Check https://zh.m.wikipedia.org/wiki/%E5%90%89%E6%9E%97%E7%9C%81%E5%8F%8B%E5%A5%BD%E5%9F%8E%E5%B8%82%E5%88%97%E8%A1%A8 has no language versions, only variants.
Expected:
- The language list should be empty
Actual:
The language list is not empty - it contains variants