Last modified: 2010-05-16 11:00:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25531, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23531 - Turn on $wgVectorShowVariantName for zhwiki
Turn on $wgVectorShowVariantName for zhwiki
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://zh.wikipedia.org/
: shell
Depends on: 20193
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-15 14:04 UTC by Jimmy Xu
Modified: 2010-05-16 11:00 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jimmy Xu 2010-05-15 14:04:07 UTC
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.
Comment 1 JeLuF 2010-05-16 06:27:12 UTC
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,
Comment 2 Liangent 2010-05-16 09:05:08 UTC
It doesn't work now. I'm not sure whether it's because of bad code or incorrect configuration.
Comment 3 JeLuF 2010-05-16 11:00:45 UTC
Bad typo on my side :-(

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links