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

--- Comment #3 from Roan Kattouw <[email protected]> 2011-11-24 10:02:01 
UTC ---
To fix the problem you had on zhwiki, I suggest putting ULS in a hidden gadget
(are hidden gadgets supported on the live site? I forgeT) so you can use
mw.loader.using( 'ext.gadgets.uls', ... ) as appropriate.

Re the actual bug, maybe we should disallow calling load() on site and user
somehow. They're weird modules because they're loaded raw, which means the
usual guards against double-loading fail; however, they're also loaded on every
page, so calling load() on them is always unnecessary. So there the good news
is your load() call would stop working (which fixes the double-loading bug),
and the bad news is your load() call would stop working (which breaks your
hack).

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to