Content deleted Content added
No edit summary |
No edit summary |
||
Line 50:
document.getElementById('contentSub').innerHTML = '(<a href="http://en.wikipedia.org/w/index.php?title=' + _GET['title'] + '&action=edit&oldid=' + _GET['oldid'] + '&revert=1&user1='+user1+'&user2='+user2+'">Revert</a> / <a href="javascript:var message = getMessage(\'revert\', \''+user1+'\', \''+user2+'\');">Message</a>) (<a href="http://en.wikipedia.org/w/index.php?title=' + _GET['title'] + '&action=edit&oldid=' + _GET['oldid'] + '&vandalism=1&user1='+user1+'&user2='+user2+'">Vandalism</a> / <a href="javascript:var message = getMessage(\'vandalism\', \''+user1+'\', \''+user2+'\');">Message</a>) (Warn: <a href="http://en.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=1">Test</a> / <a href="http://en.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=2">Blatant</a> / <a href="http://en.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=3">Nonsense</a> / <a href="http://en.wikipedia.org/w/index.php?title=User_talk:'+user2+'&action=edit§ion=new&warn=4">Blanking</a>)';
} else if (___location.href.match(/revert=1/)) {
document.getElementById('wpSummary').value = 'Reverted edits by
document.getElementById('editform').submit();
} else if (___location.href.match(/revert=2/)) {
document.getElementById('wpSummary').value = 'Reverted edits by
document.getElementById('editform').submit();
} else if (___location.href.match(/vandalism=1/)) {
document.getElementById('wpSummary').value = 'Reverted vandalism by
document.getElementById('editform').submit();
} else if (___location.href.match(/vandalism=2/)) {
document.getElementById('wpSummary').value = 'Reverted vandalism by
document.getElementById('editform').submit();
} else if (___location.href.match(/warn=1/)) {
|