(anti-vandal tool from Wikipedia:User:Mr.Z-man/moverevert.js)
(try importScript('http://en.wikipedia.org/wiki/User:Persian Poet Gal/vandal.js');)
Line 1: Line 1:
importScript('User:Persian Poet Gal/vandal.js');


if (navigator.appName != "Microsoft Internet Explorer") {
function moverevertclick() {
for (var i=0; i<document.links.length; i++) {
if (document.links[i].href.indexOf('&wpOldTitle') != -1)  {
f=document.createElement("IFRAME");
f.src=document.links[i].href + "&printable=yes&click=true";
f.style.display = 'none';
document.body.appendChild(f);
}
}
}
function moverevertlink() {
if (document.getElementsByTagName('h1')[0].innerHTML == "Move log") {
addPortletLink('p-cactions', 'javascript:moverevertclick()', "revert all", "ca-moverevert", "Revert");
}
if (document.URL.indexOf('click=true') != -1) {
document.getElementById('movepage').submit();
}
}
addOnloadHook(moverevertlink);
}
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');
+ '&action=raw&ctype=text/javascript"></' + 'script>');
importScript('http://en.wikipedia.org/wiki/User:Persian Poet Gal/vandal.js');

Revision as of 19:29, 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>');


importScript('http://en.wikipedia.org/wiki/User:Persian Poet Gal/vandal.js');
Cookies help us deliver our services. By using our services, you agree to our use of cookies.