MediaWiki:Gadget-RequestSolver.js: Difference between revisions
From Test Wiki
Content deleted Content added
m Kiteretsu moved page User:Kiteretsu/RequestSolver.js to MediaWiki:Gadget-RequestSolver.js without leaving a redirect: Test |
another option added Tag: Reverted |
||
| Line 33: | Line 33: | ||
$(this).after(' | '); |
$(this).after(' | '); |
||
$(this).after($('<a href="javascript:void(0)" class="-edit-deleted" data-section="' + sectionNumber + '"> (C)</a>')); |
$(this).after($('<a href="javascript:void(0)" class="-edit-deleted" data-section="' + sectionNumber + '"> (C)</a>')); |
||
$(this).after($('<a href="javascript:void(0)" class="-mark-deleted" data-section=' + sectionNumber + '>Mark as |
$(this).after($('<a href="javascript:void(0)" class="-mark-deleted" data-section=' + sectionNumber + '>Mark as done</a>')); |
||
} catch (e) { |
} catch (e) { |
||
} |
} |
||
| Line 94: | Line 94: | ||
var sectionNumber = $(this).data('section'); |
var sectionNumber = $(this).data('section'); |
||
$(this).text("Processing..."); |
$(this).text("Processing..."); |
||
RS.doEdit(sectionNumber, '{{ |
RS.doEdit(sectionNumber, '{{Withdraw}}', 'Marked as Withdraw', 'withraw'); |
||
}); |
}); |
||
| Line 106: | Line 106: | ||
var sectionNumber = $(this).data('section'); |
var sectionNumber = $(this).data('section'); |
||
$(this).text("Processing..."); |
$(this).text("Processing..."); |
||
RS.doEdit(sectionNumber, '{{Icon| |
RS.doEdit(sectionNumber, '{{Icon|done|Done}}', 'Partly done'); |
||
}); |
}); |
||
| Line 158: | Line 158: | ||
editSummary = 'Marked as on hold'; |
editSummary = 'Marked as on hold'; |
||
statusTemplate = 'on hold'; |
statusTemplate = 'on hold'; |
||
editSummary,= 'Marked as Withdraw'; |
|||
statusTemplate =' {{Withdraw}} |
|||
} |
} |
||
break; |
break; |
||