User:AzaToth/twinklebatchdelete.js: Difference between revisions

Content deleted Content added
Amalthea (talk | contribs)
Undo for now: Works great in Firefox and Opera (and even IE), but sometimes has issues in Safari and Chrome.
Amalthea (talk | contribs)
restore previous change, works now.
Line 45:
function twinklebatchdelete() {
if( userIsInGroup( 'sysop' ) && (wgNamespaceNumber > 0 || wgCanonicalSpecialPageName == 'Prefixindex') ) {
addPortletLinktwAddPortletLink( (typeof pTwinkle != "undefined") ? pTwinkle : "p-cactions", "javascript:twinklebatchdelete.callback()", "D-batch", "tw-batch", "Delete pages found in this category/on this page", "");
}
}
addOnloadHookwindow.TwinkleInit = (window.TwinkleInit || []).concat(twinklebatchdelete); //schedule initializer
 
twinklebatchdelete.unlinkCache = {};