Last modified: 2013-06-28 06:33:20 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 T51589, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49589 - $wgTranslateBlacklist on wikidatawiki
$wgTranslateBlacklist on wikidatawiki
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on: 49588
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-14 18:42 UTC by Liangent
Modified: 2013-06-28 06:33 UTC (History)
5 users (show)

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


Attachments

Description Liangent 2013-06-14 18:42:26 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?
Comment 1 fanchy 2013-06-19 19:18:50 UTC
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
Comment 2 Liangent 2013-06-19 22:40:11 UTC
(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]]?
Comment 3 fanchy 2013-06-20 15:56:52 UTC
(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
Comment 4 Sam Reed (reedy) 2013-06-27 19:16:32 UTC
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."
  }
}
Comment 5 Liangent 2013-06-27 19:54:29 UTC
(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?
Comment 6 Sam Reed (reedy) 2013-06-27 19:57:28 UTC
It's done in CommonSettings unconditionally for any wiki including translate..

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


Navigation
Links