MediaWiki:Group-sysop.js

/* Any JavaScript here will be loaded for sysops only */ var QuickToolsAdvancedtop = false; massRenameDelay = 1000; massRenameSummary = 'automatic';

window.cacheSkip = []; window.cacheSkipLimit = 1000; window.topLevelCat = '';

var globalJSArticles; try { globalJSArticles = JSON.parse(sessionStorage.getItem("globalJSArticles")); } catch (e) { globalJSArticles = null; } if (!jQuery.isArray(globalJSArticles)) { globalJSArticles = [ 'u:dev:AjaxBatchDelete/code.2.js', 'u:dev:WHAM/code.js', 'u:dev:QuickToolsv2/code.js', 'u:dev:QuickContribs/code.js', 'u:dev:AjaxRename/code.js', 'u:dev:PortableCSSPad/code.js', 'u:dev:CategoryRenameAuto-update/code.js', 'u:dev:AjaxBatchUndelete/code.js', 'w:c:dev:CacheCheck/code.js', 'u:dev:Quick_Management/code.js', 'u:dev:MassRename/code.js', 'u:dev:MassRenameRevert/code.js', 'u:dev:PageRenameAuto-update/code.js', 'u:dev:CategoryRenameAuto-update/code.js', 'u:dev:MassProtect/code.js', 'u:dev:MediaWiki:MassBlock/code.js', 'u:dev:QuickThreads/code.js', 'u:dev:AutoEditPages/code.js', 'u:dev:MassCategorization/code.js', 'u:sonako:MediaWiki:CommentsDelete.js', 'u:dev:QuickComments/code.js', 'u:dev:QuickComments/advanced.js' ]; } console.log("globalJSArticles =", globalJSArticles); console.log("\nglobalJSArticles.splice(4, 1); sessionStorage.setItem(\"globalJSArticles\", JSON.stringify(globalJSArticles)); window.location.reload;\n\nsessionStorage.removeItem(\"globalJSArticles\"); window.location.reload;\n"); // Load all scripts with importArticles // http://help.wikia.com/wiki/Help:Including_additional_JavaScript_and_CSS importArticles({	type: 'script',	articles: globalJSArticles });

//AWB script install

if (mw.config.get('skin') === 'monobook') { importScriptURI('//en.wikipedia.org/w/index.php?title=User:Joeytje50/AWB.js/load.js&action=raw&ctype=text/javascript'); }