https://bugzilla.wikimedia.org/show_bug.cgi?id=33746

--- Comment #1 from Krinkle <krinklem...@gmail.com> 2012-01-16 08:30:03 UTC ---
They shouldn't be wrapped in mw.loader.using. The only scripts may have to be
wrapped is MediaWiki:Common.js and user/common.js (due to there not being a
module registry where one can declare dependencies).

For core, extension and gadget modules dependencies should be declared in the
registry. So for gadgets that would be MediaWiki:Gadgets-definition. Then the
dependencies will be loaded in the same request (and never more than once).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to