I think you can use
mw.messages.set( messages );
instead of this loop. See e.g. meta:User:Krinkle/1-17-allwikis/jsUpdater.js
I think you can use
mw.messages.set( messages );
instead of this loop. See e.g. meta:User:Krinkle/1-17-allwikis/jsUpdater.js
When I open the page Possible tarballs and click on "PegParser" I get the following error on Chromium 12.0.742.91 (87961) Ubuntu 11.04:
Uncaught TypeError: Cannot read property 'type' of undefined FakeParser.treeToHtml load.php:10 addParserModes.modes.render load.php:100 PegParser.parseToTree load.php:94 PegParser.initField load.php:95 PegParser.parseToTree load.php:94 addParserModes.modes.render load.php:100 $.ready.window.setTimeout.editor.wikiEditor.sections.parser.label load.php:102 liveHandler load.php:38 jQuery.event.handle load.php:27 jQuery.event.add.elemData.handle.eventHandle load.php:22