MediaWiki:Wikia.js

/** * Configure my list of global.js articles * Grab the list from sessionStorage if available * This allows me to easily turn on/off individual scripts * from the browser console for testing purposes */ var globalJSArticles; try { globalJSArticles = JSON.parse(sessionStorage.getItem("globalJSArticles")); } catch (e) { globalJSArticles = null; } if (!jQuery.isArray(globalJSArticles)) { globalJSArticles = [ 'u:wikimarks:Client.js', "u:dev:HideRail/code.js", "w:c:dev:BackToTopButton/code.js", "u:dev:UserTalkNotifications/code.js", "u:dev:RedirectManagement/code.js", "u:dev:PageRenameAuto-update/code.js", 'u:sonako:MediaWiki:Musicbox.js', 'u:sonako:MediaWiki:Thongbao.js', 'u:sonako:MediaWiki:Wikia.js/Changecolor.js', 'u:sonako:MediaWiki:Wikia.js/customInterface.js', 'u:sonako:MediaWiki:Common.js/socialmedia.js', 'u:sonako:User:Dai_ca_superman/GlobalScripts.js', 'u:kangaroopower:Mediawiki:Scope.js', 'u:sonako:MediaWiki:Liquid-Rotate_Rail.js', 'u:sonako:MediaWiki:AdvancedWikiActivity.js', 'u:sonako:MediaWiki:SexyUserPage.js', 'u:admintools:MediaWiki:Common.js/CEB.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 }); /* */ importScriptPage('MediaWiki:Snow.js','sonako');