User:The JoTS/global.js

/*** std ***********************************************************/ importArticles( {   type: 'script',    articles: [        'u:dev:MediaWiki:CustomChatPings/code.js',        //'u:dev:MediaWiki:FindNReplace/code.js',        'u:dev:MediaWiki:DupImageList/code.js'    // inserted in .mw-dupimages    ] } );

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