User:KurwaAntics/global.js

/* ********** Load scripts ********** */ importArticles({   type: "script",    articles: [        "u:dev:Wikimarks/code.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:WHAM/code.2.js"        ]    }); }

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