Originally brought up here
ZH 不转换 means unchangeabled.
So we shouldn't show any variants in this case.
I wonder why this shows at all...! @Amire80 @Nikerabbit do you know why this is showing up and if we can programmatically supress this?
Jdlrobson | |
Mar 28 2016, 3:58 PM |
F3715562: Screen Shot 2016-03-25 at 12.33.52 PM.png | |
Mar 28 2016, 3:59 PM |
Originally brought up here
ZH 不转换 means unchangeabled.
So we shouldn't show any variants in this case.
I wonder why this shows at all...! @Amire80 @Nikerabbit do you know why this is showing up and if we can programmatically supress this?
No it does not mean unchangeable. Technically ZH is just a variant, with an (almost) empty conversion table, 不转换 means unchanged.
On regular UI we hid ZH along with ZH-HANS and ZH-HANT because they're rarely used and not expected to be used by "readers". That said, there's no logical or programmatical error here.
Ahh thanks @liangent for clearing this up. What do you mean by regular UI? Vector? What code hides them?
Vector with site CSS (as a gadget) applied, where there is a list of first three variants hard coded as hidden. See https://zh.wikipedia.org/wiki/MediaWiki:Gadget-hideConversionTab.css
@liangent we shouldn't need to do this in css. This should be done as a site config. Is there any reason that is not done in the code itself? It seems strange we are outputting these in the first place.
(Note if we want to hide these 3 variants, we can do so using the wiki page MediaWiki:Mobile.css @liangent). It should not block us pushing this feature to stable.
I would be keen to raise an upstream bug though to avoid this confusion.