https://bugzilla.wikimedia.org/show_bug.cgi?id=41331
--- Comment #5 from Krinkle <[email protected]> 2012-10-24 19:11:10 UTC --- (In reply to comment #3) > importScriptURI and importStylesheetURI are officially deprecated since 1.17 > according to > http://www.mediawiki.org/wiki/ResourceLoader/JavaScript_Deprecations#wikibits.js. > Until ResourceLoader can load inter-wiki (user)scripts/sheets, I don't > consider > mw.loader.load loading external scripts a 'convenience'. > These deprecated methods work fine, there is no need to use something else (other than migrating away from the legacy loading system entirely). ResourceLoader will never provide a way to load interwiki files because that's not what it should be doing. ResourceLoader loads modules. The proper migration path is to convert the soup of raw files into a module and load that. Right now there is no way to register a module on the user-level. Until there is a way to create modules on the user level (which is the only use left for the legacy system), all the methods that support this system will stay too. And when that feature exists[1], user scripts can be converted to modules at which point importStylesheetURI and mw.loader.load are both irrelevant. Hence the recommendation to stick to the deprecated methods instead of making a invisible change by using differently named methods. > May I suggest trying: > [..] Indeed, that seems to improve the situation. I was already on that in a local branch (the branch I use to reduce usage of jQuery in the ResourceLoader client to, eventually, make it standalone separate from mediawiki.js). I'll extract that bit and commit it and see if that makes IE8 happy. -- Krinkle [1] For the record, don't confuse user-level modules with what Gadgets 2.0 is bringing, Gadgets 2.0 is "just" bringing existing gadgets to the next level by making them globally available, proper localisation and full ResourceLoader support. It doesn't provide a way for user-level modules, which is a whole other story that will require a very different system (which may or may not be done as part of a future version of the Gadgets extension). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
