On Thu, 06 Aug 2015 01:24:03 +0200, Krinkle <[email protected]> wrote:

TL:DR; Double-check your wiki's site scripts and your personal scripts
> to ensure "document.write" is no longer used.
>
...
> Check out the migration page for other deprecations and common issues you
> may encounter:
> https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)


I notice people have added document.write() migration advice to its "Good
practices" section [1] (thanks! <3 ). There's other good advice there.

Our JavaScript coding conventions barely mentioned ResourceLoader, I added
a "use the RL, Luke!" section [2] with a link to those Good practices.

Related, I added some tips on the somewhat black arts of RL debugging to
Developing with ResourceLoader [3].

[1]
https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_%28users%29#Good_practices
[2] https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript
[3]
https://www.mediawiki.org/wiki/ResourceLoader/Developing_with_ResourceLoader#Debugging

-- 
=S Page  WMF Tech writer
_______________________________________________
Wikitech-ambassadors mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors

Reply via email to