User:Andrey Andrey/global.js

/*Batch Delete Settings*/ batchDeleteDelay = 1;

/*Fast Delete Settings*/ window.AjaxCommentDeleteConfig = { fastDelete: "Housekeeping" } 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;

/*Null Edit Settings*/ nullEditDelay = 1; //sin

/*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;

/*CacheCheck Settings*/ window.cacheSkip = []; window.cacheSkipLimit = 1000; window.topLevelCat = '';

/****************** Import scripts ******************/ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:NullEditButton/code.js',        'u:dev:MediaWiki:MassNullEdit/code.js',        'u:dev:CacheCheck/code.js',        '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:kocka:MediaWiki:AjaxCommentDelete/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',        'u:dev:DisplayTimer/code.js'    ] });