This has been in the works for *years* now. How much more time do we
need already?
I'd rather see a replacement as well, as .mw.loader.laod is somewhat
unintuitive having to specify the entire raw url. Why does mw.util (or
mw.loader) not have a function to build such an url like importScript has?
Regards,
--
Erwin Dokter
On 27-03-2016 17:23, Mr. Stradivarius wrote:
I think we are going to need more than a month to fix
this. A search on
enwiki shows 26,000 pages using importScript, 7,000 pages using
addOnloadHook, and 4,000 pages using addPortletLink. (Although
addPortletLink is already aliased to mw.util.addPortletLink in enwiki's
Mediawiki:Common.js.) It would also be nice to have a drop-in replacement
for importScript before we disable it - I can imagine a lot of users
getting annoyed at having to change all their importScript calls to the
mw.loader.load syntax.
Strad
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l