wikibits: Remove redundant stubs for document.write
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 21 Apr 2018 01:54:33 +0000 (02:54 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 21 Apr 2018 01:54:33 +0000 (02:54 +0100)
commit7f2c6c401644c06b0bd30e311c6247bcaebec1bc
tree7914098c9f59a07c2629754fdbdd6f32489a0f70
parent4c2a3f30abcda633748ca0e7dea90af19d0fb853
wikibits: Remove redundant stubs for document.write

The browser already warns for these, and our stubs were actually
making it somewhat worse by appending to a weird place in the page
instead of what the browser does (which is to either allow it
properly, or ignore).

Bug: T192623
Change-Id: I1924b252a8b986c4f1ad65f96149b8c06c1fad9b
resources/src/mediawiki.legacy/wikibits.js