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

--- Comment #1 from Krinkle <krinklem...@gmail.com> 2011-09-17 01:49:52 UTC ---
yeah, that goes for any embedded module for that matter. Anything embedded in
the html cannot be removed from the 'load queue' since it's stuck in the HTML,
so it needs to be in the top of the document before the first loader.load.

One thing to keep in mind though is that user.tokens depends on
'mediawiki.user' (obviously).

We just need to verify that "mw.loader.implement('user.tokens')" doesn't do
anything (i.e. it should not trigger an ajax request to get 'mediawiki.user',
because 1) nobody asked for 'user.tokens', so no need to resolve dependencies,
2) because 'mediawiki.user' is expected to be in the next loader.load call

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to