https://bugzilla.wikimedia.org/show_bug.cgi?id=29107
Web browser: ---
Bug #: 29107
Summary: WikiEditor doesn't work in debug mode
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Resource Loader
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l