Well you could use mediaWiki.loader.load in a module's script or in a module's loader script.
Roan and I plan to change the API of mediaWiki.loader.load for external scripts today/tomorrow, so stay tuned. The change will likely be taking an object for non-module scripts.
I will send info to the list when it changes.
- Trevor
On 11/17/10 5:08 AM, Jeroen De Dauw wrote:
Hey,
What is the recommended approach to loading external libraries (such as the Google Maps one) using the resource loader?
I poked Roan about this a few weeks back, and got told that at that point there was no way of doing this yet. Is there one now, and if not, how to best add one?
Cheers
-- Jeroen De Dauw http://blog.bn2vs.com Don't panic. Don't be evil. -- _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l