Last modified: 2013-06-28 06:33:20 UTC
I assume this extension is used to translate wiki pages there. The list copied from bug 37338: $wgTranslateBlacklist = array( '*' => array( 'en' => 'English is the source language.', 'gan-hans' => 'Translate in gan please.', 'gan-hant' => 'Translate in gan please.', 'ike-cans' => 'Translate in iu please.', 'ike-latn' => 'Translate in iu please.', 'kk-cyrl' => 'Translate in kk please.' 'kk-latn' => 'Translate in kk please.' 'kk-arab' => 'Translate in kk please.' 'kk-kz' => 'Translate in kk please.' 'kk-tr' => 'Translate in kk please.' 'kk-cn' => 'Translate in kk please.' 'ku-latn' => 'Translate in ku please.', 'ku-arab' => 'Translate in ku please.', 'shi-tfng' => 'Translate in shi please.', 'shi-latn' => 'Translate in shi please.', 'sr-ec' => 'Translate in sr please.', 'sr-el' => 'Translate in sr please.', 'tg-latn' => 'Translate in tg please.', 'zh-hans' => 'Translate in zh please.', 'zh-hant' => 'Translate in zh please.', 'zh-cn' => 'Translate in zh please.', 'zh-hk' => 'Translate in zh please.', 'zh-mo' => 'Translate in zh please.', 'zh-my' => 'Translate in zh please.', 'zh-sg' => 'Translate in zh please.', 'zh-tw' => 'Translate in zh please.', ), ); Still, Change-Id: Ie7e82bee0b1f8f902b38bb4a464cf0ebc4df4d89 maybe we can wait for it this time?
It causes a bug on Chinese Wikidata mainpage. The translate extension is used by the [[wikidata:news]], but the [[wikidata:news/zh]] will be transcluded into the Chinese Wikidata mainpage, which isn't suffixed by zh. see https://www.wikidata.org/wiki/Wikidata:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88#.E7.BF.BB.E8.AF.91.E5.90.88.E5.B9.B6.E5.88.B0zh.E5.AF.BC.E8.87.B4.E9.A6.96.E9.A1.B5.E4.B8.8A.E6.9C.89bug in Chinese
(In reply to comment #1) > It causes a bug on Chinese Wikidata mainpage. The translate extension is used > by the [[wikidata:news]], but the [[wikidata:news/zh]] will be transcluded > into > the Chinese Wikidata mainpage, which isn't suffixed by zh. > > see > https://www.wikidata.org/wiki/Wikidata:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88#. > E7.BF.BB.E8.AF.91.E5.90.88.E5.B9.B6.E5.88.B0zh.E5.AF.BC.E8.87.B4.E9.A6.96.E9. > A1.B5.E4.B8.8A.E6.9C.89bug > in Chinese [[d:wikidata:news]] and [[d:wikidata:news/zh]]?
(In reply to comment #2) > (In reply to comment #1) > > It causes a bug on Chinese Wikidata mainpage. The translate extension is used > > by the [[wikidata:news]], but the [[wikidata:news/zh]] will be transcluded > > into > > the Chinese Wikidata mainpage, which isn't suffixed by zh. > > > > see > > https://www.wikidata.org/wiki/Wikidata:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88#. > > E7.BF.BB.E8.AF.91.E5.90.88.E5.B9.B6.E5.88.B0zh.E5.AF.BC.E8.87.B4.E9.A6.96.E9. > > A1.B5.E4.B8.8A.E6.9C.89bug > > in Chinese > > [[d:wikidata:news]] and [[d:wikidata:news/zh]]? Yes
Does this still need anything further doing? Looks roughly right to me now.. reedy@tin:/a/common$ mwscript eval.php wikidatawiki > var_dump( $wgTranslateBlacklist ); array(1) { ["*"]=> array(26) { ["en"]=> string(31) "English is the source language." ["gan-hans"]=> string(24) "Translate in gan please." ["gan-hant"]=> string(24) "Translate in gan please." ["ike-cans"]=> string(23) "Translate in iu please." ["ike-latn"]=> string(23) "Translate in iu please." ["kk-cyrl"]=> string(23) "Translate in kk please." ["kk-latn"]=> string(23) "Translate in kk please." ["kk-arab"]=> string(23) "Translate in kk please." ["kk-kz"]=> string(23) "Translate in kk please." ["kk-tr"]=> string(23) "Translate in kk please." ["kk-cn"]=> string(23) "Translate in kk please." ["ku-latn"]=> string(23) "Translate in ku please." ["ku-arab"]=> string(23) "Translate in ku please." ["shi-tfng"]=> string(24) "Translate in shi please." ["shi-latn"]=> string(24) "Translate in shi please." ["sr-ec"]=> string(23) "Translate in sr please." ["sr-el"]=> string(23) "Translate in sr please." ["tg-latn"]=> string(23) "Translate in tg please." ["zh-hans"]=> string(23) "Translate in zh please." ["zh-hant"]=> string(23) "Translate in zh please." ["zh-cn"]=> string(23) "Translate in zh please." ["zh-hk"]=> string(23) "Translate in zh please." ["zh-mo"]=> string(23) "Translate in zh please." ["zh-my"]=> string(23) "Translate in zh please." ["zh-sg"]=> string(23) "Translate in zh please." ["zh-tw"]=> string(23) "Translate in zh please." } }
(In reply to comment #4) > Does this still need anything further doing? Looks roughly right to me now.. It seems done now... dunno why. Maybe the person solving bug 37338 didn't specify 'metawiki' and used 'default' instead?
It's done in CommonSettings unconditionally for any wiki including translate..