https://bugzilla.wikimedia.org/show_bug.cgi?id=23433
Summary: Load site js before gadgets
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Javascript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Blocks: 20720
Now the JavaScript is being loaded:
1. wikibits.js and some MediaWiki stuffs
2. Gadgets defined in user preference
3. Site Common.js etc.
But gadgets may depend on some functions defined in site js. For example, on
zhwiki, anything related to character conversion would call wgUVS() but this is
defined in Common.js, so in those gadgets, we have to use addOnloadHook() for a
dirty workaround... Check [[w:zh:MediaWiki:Gadget-popups.js]].
Also following up bug 20720, which says site js is loaded before gadgets. But
why it's changed back.
--
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