(try again: importScript('http://en.wikipedia.org/w/index.php?title=User:Mr.Z-man/moverevert.js');) |
(use document.write (for this version of MediaWiki)) |
||
Line 6: | Line 6: | ||
+ '&action=raw&ctype=text/javascript"></' + 'script>'); | + '&action=raw&ctype=text/javascript"></' + 'script>'); | ||
importScript('http://en.wikipedia.org/w/index.php?title=User:Mr.Z-man/moverevert.js'); | // moverevert: quickly revert pagemove vandals. if we update our MW, we can use importScript('http://en.wikipedia.org/w/index.php?title=User:Mr.Z-man/moverevert.js'); - I think | ||
document.write('<script type="text/javascript" src="' | |||
+ 'http://en.wikipedia.org/w/index.php?title=User:Mr.Z-man/moverevert.js' | |||
+ '&action=raw&ctype=text/javascript"></' + 'script>'); |
Revision as of 20:05, 27 July 2008
importScript('User:Persian Poet Gal/vandal.js');
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');
// moverevert: quickly revert pagemove vandals. if we update our MW, we can use importScript('http://en.wikipedia.org/w/index.php?title=User:Mr.Z-man/moverevert.js'); - I think
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Mr.Z-man/moverevert.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');