User:Monochromatic Bunny/global.js

window.globalLinks = { global: { "RC": "Special:Mypage", "CSS": "Special:Mytalk", "Admins": "Special:ListAdmins", "Log off": "Special:UserLogout?returnto=%page%", "Contribs": "Special:Contributions/%user%", "Purge": "%page%?action=purge", "QQX": "%page%?uselang=qqx", },   community: { "Global JS": "Special:Mypage/global.js", "Global CSS": "Special:Mypage/global.css" }, };

/* credit to kockadmiralac for js */ var regularList = [ 'external:dev:AjaxRC/code.js', 'external:dev:AjaxUndo/code.js', 'external:dev:CacheCheck/code.js', 'external:dev:FindAndReplace/code.js', 'external:dev:ImprovedFooter/code.js', 'external:dev:ListFiles/code.js', 'external:dev:NullEditButton/code.js', 'external:dev:PortableCSSPad/code.js', 'external:dev:QuickCreateUserPage/code.js', 'external:dev:QuickDiff/code.js', 'external:dev:RedirectManagement/code.js', 'external:dev:Rollback/code.js', 'external:dev:ViewRemovedAlways/code.js', 'external:kocka:User:KockaAdmiralac/GlobalEditcount.javascript', 'external:monobunny:User:Monochromatic_Bunny/wikia.js', ], adminList = [ 'external:dev:AjaxBatchDelete/code.2.js', 'external:dev:AjaxBlock/code.js', 'external:dev:AjaxPatrol/code.js', 'external:dev:AutoEditPages/code.js', 'external:dev:FastDelete/code.js', 'external:dev:SkinSwitchButton/code.js', 'external:dev:WHAM/code.2.js', 'external:kocka:AjaxCommentDelete/code.js', 'external:kocka:AjaxThreadDelete/code.js', 'external:kocka:MessageWallActions/code.js', ];

importArticles({ type: 'script', articles: (regularList.concat((wgUserGroups.includes("sysop") ? adminList : []))) });