If any MediaWiki hacker folks are looking for an easy introduction to working with ResourceLoader, one way might be to help with bug 26306 “Cleanup extensions that include jquery (and common plugins) themselves”.
A number of extensions over the years have pulled in their own copies of jQuery, or particular jQuery or jQuery.ui plugins which are now present in MediaWiki core and available through ResourceLoader.
The extra copies — which are usually horribly out of date! — can generally now be removed.
Here are commits I made on a couple extensions:
- r87845 OpenID: needed conversion to RL, used the opportunity to clean up other minification/spriting
- r87847 Collection: most of the old modules had already been switched to RL but the old files were still there. Cleaned up and swapped one more plugin for the core copy
Don’t be afraid to check out the migration guide for extension developers and related doc pages on mediawiki.org, or bug your fellows — anything that’s not clear now is something that should be documented better, so don’t be shy!