MediaWiki:Gadget-RequestSolver.js: Difference between revisions
From Test Wiki
Content deleted Content added
another option added Tag: Reverted |
Tag: Undo |
||
| 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 deleted</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, '{{stale}}', 'Marked as stale', 'stale'); |
||
}); |
}); |
||
| 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|delete|Deleted}}', 'Deleted'); |
||
}); |
}); |
||
| Line 158: | Line 158: | ||
editSummary = 'Marked as on hold'; |
editSummary = 'Marked as on hold'; |
||
statusTemplate = 'on hold'; |
statusTemplate = 'on hold'; |
||
statusTemplate =' {{Withdraw}} |
|||
} |
} |
||
break; |
break; |
||