MediaWiki:Group-sysop.js

/* Any JavaScript here will be loaded for sysops only */

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:QuickContribs/code.js', 'u:dev:AjaxRename/code.js', 'u:dev:PortableCSSPad/code.js', 'u:dev:CategoryRenameAuto-update/code.js', 'u:dev:HideRail/code.js', 'u:dev:AjaxBatchUndelete/code.js', 'u:dev:Quick_Management/code.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 });