User:The JoTS/global.js

// config WHAMDelay = 1000;

/*** std ***********************************************************/ importArticles( {   type: 'script',    articles: [        'u:dev:MediaWiki:CustomChatPings/code.js',        '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 *********************************************************/ var ug = mw.config.get("wgUserGroups").join(' '); // user groups if (ug.indexOf('sysop') + ug.indexOf('content-moderator') > -2) importArticles( {       type: 'script',        articles: [            'u:dev:MediaWiki:AjaxBatchDelete/code.2.js',            'u:dev:MediaWiki:MassRenameRevert/code.js',            'u:dev:MediaWiki:AjaxPatrol/code.js',            'u:dev:WHAM/code.2.js'        ]    } );