Last modified: 2011-06-01 00:14:50 UTC
I report this in the RessourceLoader component since I think that this issue is not WikiEditor-specific. To reproduce open any page for editing in debug mode (action=edit&debug=true). Though WikiEditor is enabled and works in normal mode, it does not appear in debug mode. I think that this is what happens: jquery.wikiEditor.toolbar.i18n has no scripts (only messages), so registry[...].script is set to an empty array, so the execute-method never sets the state to "ready" as expected. The dependend modules aren't executed, the toolbar doesn't appear. In production mode the script is an empty function, so the state is set properly and the bug doesn't appear.
I believe this has been fixed in trunk (1.19-alpha). Which version did you reproduce the bug on ? (if not trunk, could try to reproduce on trunk by checking out or by trying on http://translatewiki.net/ )
I can confirm bug on trunk in r88704.
I concur with Michael's diagnosis; r88706 seems to fix it up for me by marking the module as loaded properly in the case that there's an array of zero scripts. Please test w/ other modules to confirm!
qunit test case added in r89243.