User:Andrey Andrey/global.js

/*Batch Delete Settings*/ batchDeleteDelay = 1;

/*Fast Delete Settings*/ var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'Spam'}; fdButtons[fdButtons.length] = { 'summary': 'Vandalism', 'label': 'Vandalism'}; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping', 'label': 'Clean-up'}; fdButtons[fdButtons.length] = { 'summary': 'Unused', 'label': 'Unused'}; $(window).load(function {   switch( wgCanonicalNamespace ) {        case 'User':        case 'User_talk':        $('.UserProfileActionButton .wikia-menu-button').css('margin-left','24px').appendTo('.UserProfileActionButton');        break;    }    $('.UserProfileActionButton .wikia-button').show; });

/*Mass Cetegorization Settings*/ massCategorizationDelay = 1;

/*FileUsageAuto-update Settings*/ LIRoptions = { bottomMessage: '', editSummary: 'Updating file links (automatic)', singleButtonText: 'Rename and update', queueButtonText: 'Add to queue', delay: 1000 } /*Nuke Settings*/ nukeDeleteReason = "Cleanup";

/*RedirectManagement Settings*/ linkSweepConfirmation = true; LinkSweeperDelay = 1000;

/****************** Import scripts ******************/ importArticles({   type: 'script',    articles: [        'u:dev:AjaxBatchDelete/code.js',        'u:dev:AjaxRename/code.js',        'u:dev:DupImageList/code.js',        'u:dev:FastDelete/code.js',        'u:dev:ListFiles/code.js',        'u:dev:MultiUpload/code.js',        'u:dev:MassCategorization/code.js',        'u:dev:MediaWiki:FileUsageAuto-update/code.js',        'u:dev:QuickDiff/code.js',        'u:dev:MediaWiki:Nuke/code.js',        'u:dev:MediaWiki:MassBlock/code.js',        'u:dev:MediaWiki:RedirectManagement/code.js',        'u:dev:Linksweeper/code.js'    ] });