On Fri, May 25, 2012 at 12:32 PM, Derric Atzrott datzrott@alizeepathology.com wrote:
I've been doing some reading recently on the MediaWiki wiki about ResourceManager and how to use it to use JavaScript in MediaWiki extensions. Perhaps because it is new the documentation is not complete, or perhaps I just didn't quite understand the examples, but either way, I've been left quite confused.
Could you tell us what you're confused about specifically? Just saying "I don't understand, please explain everything" is not very helpful. Also, if you've been searching for "ResourceManager", you may not have found the docs you were looking for, because the subsystem is called "ResourceLoader".
Would anyone mind giving me a easier to follow example of how to properly make use of ResourceManager to use JavaScript in MediaWiki extensions?
Have you read https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_for_extension_... ? Is there anything on that page that's confusing you?
Roan