https://bugzilla.wikimedia.org/show_bug.cgi?id=29584
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |WONTFIX --- Comment #4 from Krinkle <[email protected]> 2011-06-26 01:33:25 UTC --- See also: * bug 27561 * bug 27535 Support for loading loose wiki pages as scripts is not intended to not be added to ResourceLoader. The legacy functions importScript and importStylesheet provide this for existing scripts that don't use ResourceLoader yet. Those wishing to switch to resourceloader should register themselfs as a module and load it through mw.loader.loader( 'modulename' ). User created scripts (ie. not server side extensions) can registery modules through the Gadget interface by using the [ResourceLoader] keyword. eg. MediaWiki:Gadgets-definition: *foobar[ResourceLoader]|foobar.js|foobar.css mw.loader.load( 'mw.ext.gadget.foobar' ); - In ResourcerLoader 2.0 (MediaWiki 1.19 or 1.20) this will be further developed into an easy-to-use Special:GadgetManager in which modules can be created with more options and configuration. As well as cross-wiki gadgets. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
