https://bugzilla.wikimedia.org/show_bug.cgi?id=27415
Summary: Implement mw.loader.wait() and thus support multiple
mw.loader.go()'s
Product: MediaWiki
Version: 1.18-svn
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Resource Loader
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
In a laer version of ResourceLoader we should support registering modules on
the client side (ie. which scripts, styles, dependancies, messages etc.)
however aside from that being able to queue things in general will be helpful.
All modules loaded by default are queued once and then loaded at once with
mw.loader.go().
In order to allow wikis, users and gadget makers to use multiple scripts with
one http request as well a mw.loader.wait() needs to be implemented.
This way a script can have:
mw.loader.wait();
mw.loader.load(["jquery.colorUtil", "jquery.hoverIntent",
"jquery.ui.autocomplete"]);
mw.loader.go();
--
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