User:KCCreations/global.js

//personalized MessageBlock var MessageBlock = { title : 'Blockage', message : "You have been blocked for a period of $2 for the following reason: $1. If you believe this was done in error, please contact an admin.", autocheck : true };

//quick create user page config var qtUserPageTemplate = ''; var qtEnableUserPageOverwrite = true;

//placing QuickToolsv2 in toolbar var QuickToolsAdvancedtop = false;

// 'u:admintools:MediaWiki:Common.js/extraRollbacks.js', importScriptPage('MessageBlocker/code.js', 'dev'); batchDeleteDelay = 1000; importScriptPage('AjaxBatchDelete/code.2.js', 'dev'); // Script imports window.importArticles( {   type: 'script',    articles: [      'u:dev:AjaxPatrol/code.js',      'u:dev:AllPagesHideRedirect/code.js',      'u:dev:AnchoredRollback/code.js',      'u:dev:BackToTopButton/code.js',      'u:dev:ContribsLink/code.js',      'u:dev:DisplayClock/code.js',      'u:dev:LastEdited/code.js',      'u:dev:Message/code.js',      'u:dev:MessageBlock/code.js',      'u:dev:PageMakerPro/code.js',      'u:dev:PurgeButton/code.js',      'u:dev:QuickCreateUserPage/code.js',      'u:dev:QuickToolsv2/code.js',      'w:c:dev:RevealAnonIP/usercode.js',      'u:dev:View_Source/code.js',      'u:dev:WallGreetingButton/code.js',      'u:dev:WHAM/code.2.js'    ] });

$(function { /* use monobook when editing CSS/JS pages. */ if (wgCityId == 4470) return; if ((wgPageName.substr(-3) == ".js") || (wgPageName.substr(-4) == ".css")) {    $("a[href*='.js?action=edit'], a[href*='.css?action=edit']").each(function{ $(this).attr("href", $(this).attr("href").replace('?action=edit', '?action=edit&useskin=monobook&usesitecss=0')); });   if (mw.util.getParamValue('action') == "edit") {      if (!mw.util.getParamValue('useskin') ) {        window.location.href = window.location.href.replace('?action=edit','?action=edit&useskin=monobook&usesitecss=0');        }      else {        $("#editform").attr("action", $("#editform").attr("action")+"&useskin="+mw.util.getParamValue('useskin'));        }      }    } });