User:The JoTS/global.js

/*** std ***********************************************************/ importArticles( {   type: 'script',    articles: [        'u:dev:MediaWiki:CustomChatPings/code.js',    ] } );

/*** 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',        ]    } );