Now the JavaScript is being loaded:
- wikibits.js and some MediaWiki stuffs
- Gadgets defined in user preference
- 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.
Version: unspecified
Severity: normal