Page MenuHomePhabricator

magic-export.php throws notices and warnings
Closed, ResolvedPublic

Description

[23-May-2012 18:56:33] PHP Notice: Undefined index: en in /www/w/extensions/Translate/scripts/magic-export.php on line 213
[23-May-2012 18:56:33] PHP Warning: Invalid argument supplied for foreach() in /www/w/extensions/Translate/scripts/magic-export.php on line 213

Steps to reproduce:

  • Have a translatewiki.net setup for MediaWiki extensions and a read-write resources checkout
  • run magic-export.php --target=/resources/siebrand/mediawiki-extensions/extensions/ --type=special

This produced about 450 pairs of the above warnings.


Version: master
Severity: minor

Details

Reference
bz37074

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 12:30 AM
bzimport set Reference to bz37074.

Addition: It doesn't seem to affect the output.

Should be fixed by I20aaa93dcc762684ea63c0fef6fb10fa0717e681