User:Monochromatic Bunny/global.js

window.globalLinks = { global: { "RC": "Special:RecentChanges", "CSS": "MediaWiki:Wikia.css", "nPIs": "Special:Insights/nonportableinfoboxes", "Admins": "Special:ListUsers/sysop", "Contribs": "Special:Contributions/%user%", "Purge": "%page%?action=purge", "Themes.css": "MediaWiki:Themes.css", },   community: { "Global JS": "Special:Mypage/global.js", "Global CSS": "Special:Mypage/global.css" }, };

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:WHAM/code.2.js', 'external:kocka:AjaxCommentDelete/code.js', 'external:kocka:AjaxThreadDelete/code.js', 'external:dev:CategoryRenameAuto-update/code.js',

];

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