if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS
TwinkleConfig.batchdeleteChunks = 50;
TwinkleConfig.batchDeleteMinCutOff = 5;
TwinkleConfig.batchMax = 5000;
TwinkleConfig.batchProtectChunks = 50;
TwinkleConfig.batchProtectMinCutOff = 5;
TwinkleConfig.batchundeleteChunks = 50;
TwinkleConfig.batchUndeleteMinCutOff = 5;
TwinkleConfig.blankTalkpageOnIndefBlock = false;
TwinkleConfig.defaultWarningGroup = 1;
TwinkleConfig.deleteTalkPageOnDelete = false;
TwinkleConfig.deletionSummaryAd = ' using ]';
TwinkleConfig.deliChunks = 500;
TwinkleConfig.deliMax = 5000;
TwinkleConfig.markAIVReportAsMinor = true;
TwinkleConfig.markSockReportAsMinor = true;
TwinkleConfig.markUAAReportAsMinor = true;
TwinkleConfig.markRevertedPagesAsMinor = ;
TwinkleConfig.markSpeedyPagesAsMinor = false;
TwinkleConfig.markSpeedyPagesAsPatrolled = true;
TwinkleConfig.notifyUserOnDeli = true;
TwinkleConfig.notifyUserOnSpeedyDeletionNomination = ;
TwinkleConfig.offerReasonOnNormalRevert = true;
TwinkleConfig.openTalkPage = ;
TwinkleConfig.openTalkPageOnAutoRevert = false;
TwinkleConfig.openUserTalkPageOnSpeedyDelete = ;
TwinkleConfig.orphanBacklinksOnSpeedyDelete = {exclude:, orphan:true};
TwinkleConfig.proddeleteChunks = 50;
TwinkleConfig.protectionSummaryAd = ' using ]';
TwinkleConfig.revertMaxRevisions = 50;
TwinkleConfig.showRollbackLinks = ;
TwinkleConfig.showSharedIPNotice = true;
TwinkleConfig.summaryAd = ' using ]';
TwinkleConfig.userTalkPageMode = 'window';
TwinkleConfig.watchProdPages = false;
TwinkleConfig.watchRevertedPages = ;
TwinkleConfig.watchSpeedyPages = ;
TwinkleConfig.watchWarnings = false;
TwinkleConfig.welcomeUserOnSpeedyDeletionNotification = TwinkleConfig.notifyUserOnSpeedyDeletionNomination;
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklefluff.js');
importScript('User:AzaToth/twinklewarn.js');
importScript('User:AzaToth/twinklearv.js');
importScript('User:AzaToth/twinklespeedy.js');
importScript('User:AzaToth/twinklediff.js');
importScript('User:AzaToth/twinkleprotect.js');
importScript('User:AzaToth/twinkleprod.js');
importScript('User:AzaToth/twinklexfd.js');
wikEdRegExTypoFix = true;
// ]
importScript('User:Lupin/popups.js');
//Mass rollback function
//Written by John254
//Adapted from User:Mr.Z-man/rollbackSummary.js
//Instructions: Selecting the "rollback all" tab when viewing a user's contributions history
//will open all rollback links displayed there. (Use with caution)
function rollbackEverythingButton() {
var hasRollback = getElementsByClassName(document, "span", "mw-rollback-link");
if (hasRollback && (document.title.indexOf("User contributions") != -1) ) {
mw.util.addPortletLink('p-cactions', 'javascript:rollbackEverything()', "rollback all", "ca-rollbackeverything", "rollback all edits displayed here");
}
}
addOnloadHook(rollbackEverythingButton);
function rollbackEverything() {
for (var i in document.links) {
if (document.links.href.indexOf('action=rollback') != -1) {
window.open(document.links.href);
}
}
}