Page MenuHomePhabricator

some i18n specific maintenance scripts fails after merge of localisation-work branch
Closed, ResolvedPublic

Description

Author: jimmy.collins

Description:
Sorry, I don't know how to fix it myself. Here is the output I get:

jc@moe:~/development/mediawiki/svn_trunk> php maintenance/checktrans.php
PHP Notice: Undefined variable: wgAllMessagesEn in
/home/jc/development/mediawiki/svn_trunk/maintenance/checktrans.php on line 21
PHP Warning: Invalid argument supplied for foreach() in
/home/jc/development/mediawiki/svn_trunk/maintenance/checktrans.php on line 21
0 messages of 0 not translated.


Version: 1.8.x
Severity: normal

Details

Reference
bz6827

Event Timeline

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

jimmy.collins wrote:

Tested some more maintainance scripts. I get similar problems in:

maintenance/alltrans.php
maintenance/dumpMessages.php
maintenance/duplicatetrans.php
maintenance/unusedMessages.php
maintenance/diffLanguage.php

jimmy.collins wrote:

maintenance/alltrans.php was fixed in r15921 by rotem.

still broken:
maintenance/dumpMessages.php
maintenance/duplicatetrans.php
maintenance/unusedMessages.php
maintenance/diffLanguage.php

rotemliss wrote:

Partial fix in r15944.

rotemliss wrote:

A workaround for the problem was added in r15948. All the scripts should work
now except for diffLanguage.php, which seems to be applicable only for the old
system.