User:KockaAdmiralac/global.js

window.topLevelCat = 'Browse'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity", "Special:Log", "Special:Log/upload"]; batchDeleteDelay = 10; massCategorizationDelay = 10; window.AjaxCommentDeleteConfig = { fastDelete: "Deleting comment" };

var regularList = [ 'u:dev:MediaWiki:AjaxRC/code.js', 'u:dev:MediaWiki:CacheCheck/code.js', 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:WallGreetingButton/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:kocka:MediaWiki:VSTFReport/code.js' ], adminList = [ 'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:AjaxPatrol/code.js', 'u:dev:MediaWiki:AjaxBatchDelete/code.2.js', 'u:kocka:MediaWiki:AjaxCommentDelete/code.js', ];

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