Content deleted Content added
Writ Keeper (talk | contribs) fx |
Writ Keeper (talk | contribs) fx |
||
Line 4:
{
$("ul.mw-contributions-list").before("Revision deletion: <form style='display:inline;'><input type='button' id='revdelSelectAll' value='Select all'><input type='button' id='revdelSelectNone' value='Select none'><input type='checkbox' id='revdelContent' name='revdelOptions' value='content'> delete content <input type='checkbox' id='revdelName' name='revdelOptions' value='userName'> delete user name <input type='checkbox' id='revdelComment' name='revdelOptions' value='editSummary'> delete edit summary <input type='checkbox' id='undelContent' name='revdelOptions' value='content'> undelete content <input type='checkbox' id='undelName' name='revdelOptions' value='userName'> undelete user name <input type='checkbox' id='undelComment' name='revdelOptions' value='editSummary'> undelete edit summary <br/><select id='wpRevDeleteReasonList'><option value='other'>Other reason</option></select><input name='wpReason' size='60' id='wpReason' maxlength='100'><input type='button' id='revdelSubmit' value='Revdel selected entries'>");
$("ul.mw-contributions-list span.mw-revdelundel-link").each(function(ind,el){
var revId = /ids=(\d+)/.exec($(this).children("a").attr("href"))[1];
var pageTitle = /target=([^&]+)/.exec($(this).children("a").attr("href"))[1];
|