User:KurwaAntics/global.js

window.ajaxPages = ["Special:WikiActivity"]; window.ajaxRefresh = 30000;

window.wgEnableLightboxExt = false;

/* ********** Load scripts ********** */ importArticles({   type: "script",    articles: [        "u:dev:Wikimarks/code.js",        "u:dev:NoImageLightbox/code.js",        "u:dev:RevealAnonIP/usercode.js",        "u:dev:DisplayClock/code.js",        "u:dev:QuickDiff/code.js",        "u:dev:FindAndReplace/code.js",        "u:dev:View_Source/code.js"    ] });

/* ********** Admin tools ********** */ if ( wgUserGroups.indexOf("sysop") >= 0 ) { window.AjaxBlock = { expiryTimes: { '1 day': '1 day', '1 weeks': '1 week', '1 month': '1 month', '1 year': '1 year', 'infinite': 'Fegel-grounded' },       blockReasons: { 'w:Help:Vandalism': 'Vandalism', 'w:Help:Spam': 'Spam', 'Haris18 worse than Fegelein': 'Haris18' },       check: { creation: true, talk: false, autoBlock: true, override: true }   };    WHAMDelay = 500; importArticles({       type: "script",        articles: [            "u:dev:AjaxBlock/code.js",            "u:dev:AjaxDelete/code.js",            "u:dev:MarkBlocked.js",            "u:dev:WHAM/code.2.js"        ]    }); }

/* ********** Wikimarks ********** */ if ( wgUserGroups.indexOf("sysop") < 0 ) { mw.util.addCSS('.admin-only { display: none; }'); }