Page MenuHomePhabricator

Turn on $wgVectorShowVariantName for zhwiki
Closed, ResolvedPublic

Description

As the title.

It is disrupting when a Mainland China user see a traditional Chinese page and he can't find somewhere to change it. Village pump had discussed this months ago, and there's a workaround in site JavaScript.


Version: unspecified
Severity: normal
URL: http://zh.wikipedia.org/

Details

Reference
bz23531

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:02 PM
bzimport set Reference to bz23531.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

Done.

Index: InitialiseSettings.php

  • InitialiseSettings.php (revision 745)

+++ InitialiseSettings.php (working copy)
@@ -7572,6 +7572,11 @@

	'default' => false,

),

+'wgVectorShowVariantName ' => array(
+ 'default' => false,
+ 'zhwiki' => true, // bug 23531
+),
+
'wmgUseMWReleases' => array(

'default' => false,
'mediawikiwiki' => true,

It doesn't work now. I'm not sure whether it's because of bad code or incorrect configuration.

jeluf wrote:

Bad typo on my side :-(

Fixed and tested (wasn't very easy to test for someone not able to read Chinese...)