MediaWiki:Gadget-RequestSolver.js: Difference between revisions
From Test Wiki
Content deleted Content added
No edit summary Tag: Reverted |
Tag: Undo |
||
| Line 34: | Line 34: | ||
$(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 deleted</a>')); |
$(this).after($('<a href="javascript:void(0)" class="-mark-deleted" data-section=' + sectionNumber + '>Mark as deleted</a>')); |
||
} |
} catch (e) { |
||
} |
} |
||
}); |
}); |
||
| Line 47: | Line 47: | ||
$(this).after($('<a href="javascript:void(0)" class="RequestSolver-close" data-section=' + sectionNumber + '>Close discussion</a>')); |
$(this).after($('<a href="javascript:void(0)" class="RequestSolver-close" data-section=' + sectionNumber + '>Close discussion</a>')); |
||
$(this).after(' | '); |
$(this).after(' | '); |
||
$(this).after($('<a href="javascript:void(0)" class="RequestSolver-edit-stale" data-section="' + sectionNumber + "> |
$(this).after($('<a href="javascript:void(0)" class="RequestSolver-edit-stale" data-section="' + sectionNumber + '"> (C)</a>')); |
||
$(this).after($('<a href="javascript:void(0)" class="RequestSolver-mark-stale" data-section=' + sectionNumber + '>Withdraw</a>')); |
$(this).after($('<a href="javascript:void(0)" class="RequestSolver-mark-stale" data-section=' + sectionNumber + '>Withdraw</a>')); |
||
$(this).after(' | '); |
$(this).after(' | '); |
||
$(this).after($('<a href="javascript:void(0)" class="RequestSolver-edit-on-hold" data-section="' + sectionNumber + '"> ( |
$(this).after($('<a href="javascript:void(0)" class="RequestSolver-edit-on-hold" data-section="' + sectionNumber + '"> (C)</a>')); |
||
$(this).after($('<a href="javascript:void(0)" class="RequestSolver-mark-on-hold" data-section=' + sectionNumber + '>on hold</a>')); |
$(this).after($('<a href="javascript:void(0)" class="RequestSolver-mark-on-hold" data-section=' + sectionNumber + '>on hold</a>')); |
||
$(this).after(' | '); |
$(this).after(' | '); |
||
| Line 91: | Line 91: | ||
}); |
}); |
||
$('a.RequestSolver-mark- |
$('a.RequestSolver-mark-stale').click(function (e) { |
||
var sectionNumber = $(this).data('section'); |
var sectionNumber = $(this).data('section'); |
||
$(this).text("Processing..."); |
$(this).text("Processing..."); |
||