Help will be appreciated @ https://phabricator.wikimedia.org/T108437 Em 07/08/2015 5:05 PM, "S Page" spage@wikimedia.org escreveu:
On Thu, 06 Aug 2015 01:24:03 +0200, Krinkle krinklemail@gmail.com 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#Go... [2] https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript [3]
https://www.mediawiki.org/wiki/ResourceLoader/Developing_with_ResourceLoader...
-- =S Page WMF Tech writer _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l