User:The JoTS/global.js

// config WHAMDelay = 1000; abuseLogRC_entries = 8; abuseLogRC_userInfo = true;

/*** std ***********************************************************/ importArticles( {   type: 'script',    articles: [        'u:dev:MediaWiki:DupImageList/code.js', // inserted in #mw-dupimages        'u:dev:MediaWiki:AjaxRC/code.js' // eh, may as well use it on all wikis    ] } );

/*** sysop / cmod *************************************************/ var ug = mw.config.get("wgUserGroups").join(' '); // user groups if (ug.indexOf('sysop') + ug.indexOf('content-moderator') > -2) importArticles( {       type: 'script',        articles: [            'u:dev:AbuseLogRC.js',            'u:dev:AjaxBatchDelete/code.2.js',            'u:dev:AjaxPatrol/code.js',            'u:dev:MassRenameRevert/code.js',            'u:dev:ViewDeleted/code.js',            'u:dev:ViewRemoved/code.js',            'u:dev:WHAM/code.2.js'        ]    } );