User:Watatsuki/global.js

/* Monchomans chat hacks */

// On document ready, if page is an edit page, add automatic edit summary $(function {   if (mw.config.get("wgIsEditPage")) {        $("input#wpSummary").val("Adding/replacing image(s) and updating gallery (semi-automatic via Python)");    } });

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:Monchoman45/ChatHacks.js', 'c');

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

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

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

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

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

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

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

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

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

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

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'); };

importArticles( {   type: 'script',    articles: [        'u:dev:MediaWiki:CustomChatPings/code.js',    ] } );

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