In ResourceLoaderUserModule, currently the execution order is:
- user common.js page
- user skin js page
- MediaWiki:Group-*.js pages
I am proposing that the group-*.js pages be run earlier.
Usecases:
- This allows customisations created by group js pages to be overridden in personal js.
- Some wikis may want to create a shim or helper function around mw.loader.load in group-user.js to make it easier to load scripts. But as of now, any such function won't be available until after the user common.js has already executed.
Also, the ResourceLoaderSiteModule scripts (MW common.js and skin js), in practise, always appear to run before the user module scripts. So this change would make it consistent in that all site js is ran before user js.