Last modified: 2008-02-07 12:42:54 UTC
Created attachment 4524 [details]
The full output of running php CreateMessageIndex.php
Here is the erorr message
Warning: Invalid argument supplied for foreach() in D:\SVN\phase3\extensions\Translate\CreateMessageIndex.php on line 18
I've attached the full output too.
You want to disable freecol group, because the files it need are not in mediawiki svn and need some effort to set up. Of course the code should not throw warnings.
Alternatively, you might want to remove the FreeCol group from the SVN code (which is supposed to be working on every machine) and only add it on Betawiki?
I disagree. It's a configuration issue. Additionally, it should throw errors anymore.
I'm sorry Niklas, but I'm reopening this bug, because no good solution is provided. Even if this is a configuration issue, the "default" config (to be used by people who make a clean install of MediaWiki and add Translate extension) should be in a way that no error message is given.
I tried it just now. Installed a clean wiki, installed Translate extension on it, and ran CreateMessageIndex.php and the error message is still there. Please mark this bug as fixed as soon as the default behaviour of the translation is changed.
It is fixed since r30350. Thank you :)