--- Comment #19 from Matthew Flaschen <> ---
(In reply to Yuvi Panda from comment #13)
> Open questions:
> 1. Can we top-load this JS?

It certainly won't cause a problem to do this.  However, bear in mind this code
can not run before ready, so even though it's top-loaded, it will run after all
HTML has been delivered and parsed (and probably a few entries into the ready

> 2. Can we top-load JS if we don't use jQuery?

Currently, absolutely all MediaWiki JavaScript requires jQuery.  The
client-side part of ResourceLoader uses jQuery, which makes it a hard

Thus, there is an isCompatible function in the startup module; it's all or
nothing.  Certain browsers are blacklisted from all ResourceLoader JS, but
everything else gets both jQuery and the main MediaWiki module (which in turn
loads other modules).

Can you explain the question a little further?

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

Reply via email to