User:Watatsuki/global.js

/* * 11:09, August 16, 2014 (UTC) * Ajax batch Undelete * Based on: http://dev.wikia.com/wiki/AjaxBatchDelete/code.js by Grunny * @author: UltimateSupreme (http://dev.wikia.com/wiki/User:UltimateSupreme) * Converted to Undelete instead */

// __NOWYSIWYG__ */

var blub = $('.wds-tabs__tab-label a[data-tracking="forum"]').length > 0 ? "forum" : "discuss"; $('.wds-tabs__tab-label a[data-tracking="' + blub + '"]').attr("href", "/wiki/Special:Upload").text("Upload");

importScriptPage('MultiUpload/code.js', 'dev');

batchDeleteDelay = 300; importScriptPage('AjaxBatchDelete/code.2.js', 'dev');

WHAMDelay = 100; importScriptPage('WHAM/code.2.js', 'dev');

nullEditDelay = 300; importScriptPage('MediaWiki:MassNullEdit/code.js', 'dev');

importScriptPage("User:Madnessfan34537/multikick.js","cod");

importScriptPage('User:MessageBlocker/code.js', 'dev');

importScriptPage("FileUsageAuto-update/code.js", "dev");

importScriptPage('AjaxPatrol/code.js', 'dev');

importScriptPage('AnchoredRollback/code.js', 'dev');

importScriptPage('MessageBlocker/code.js', 'dev');

importScriptPage('LightBlock/code.js', 'dev');

importScriptPage('MediaWiki:ContribsLink/code.js', 'dev');

massCategorizationDelay = 500; importScriptPage('MediaWiki:MassCategorization/code.js', 'dev');

massBlockDelay =500; importScriptPage('MediaWiki:MassBlock/code.js', 'dev');

importArticles({   type: 'script',    articles: [        'u:dev:MassEdit/code.js',    ] }); window.massEditConfig = { editSummary: "", editInterval: 1000 };

importArticles({   type: 'script',    articles: [        // ...        'w:c:dev:ReferencePopups/code.js',        // ...    ] });

fdButtons[fdButtons.length] = { 'summary': 'Unused file', 'label': 'Unused' };

if (mw.config.get("wgUserGroups").indexOf('sysop') > -1) { massRenameDelay = 1000; massRenameSummary = 'automatic'; importScriptPage('MassRename/code.js', 'dev'); };

linkSweepConfirmation = true; LinkSweeperDelay = 1000; importArticles({ type: 'script', articles: [   'u:dev:Linksweeper/code.js' ]});