User:Ursuul/global.js

if (mw.config.get("wgUserGroups").indexOf('sysop') > -1) { massRedirectDelay = 1000; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MassRedirect/code.1.js',        'u:dev:MassProtect/code.js',        'u:dev:MediaWiki:AnchoredRollback/code.js'    ] }); }

if (mw.config.get("wgUserGroups").indexOf('content-moderator') > -1) { massRedirectDelay = 1000; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AnchoredRollback/code.js'    ] }); }

if (mw.config.get("wgUserGroups").indexOf('rollback') > -1) { massRedirectDelay = 1000; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AnchoredRollback/code.js'    ] }); }

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ContribsLink/code.js',        //'u:dev:MediaWiki:MassCategorization/code.js',        //'u:dev:MassRedirect/code.1.js'    ] });