User:Monochromatic Bunny/global.js

window.globalLinks = { global: { "RC": "Special:RecentChanges", "CSS": "MediaWiki:Wikia.css", "Log off": "Special:UserLogout?returnto=%page%", "Admins": "Special:ListUsers/sysop", "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: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:dev:GlobalEditcount/code.js', 'external:monobunny:User:Monochromatic_Bunny/common.js', 'external:dev:ChatHacks.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', 'external:dev:CategoryRenameAuto-update/code.js',

];

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