User:RailBot/global.js

'use strict';
 * ( function( mw, window ) {

var conf = mw.config.get( [       'wgTrackID',        'wgUserGroups'    ] ); if ( window.RailBotScriptLoaded || conf.wgTrackID !== 35364715 ) return;

if ( /bot|sysop|content-moderator/.test( conf.wgUserGroups.join ) ) { importArticles( {           type: 'script',            articles: [                'u:dev:MediaWiki:AjaxUndo/code.js',                'u:dev:MediaWiki:MassNullEdit/code.js',                'u:dev:MediaWiki:MassCategorization/code.js',                'u:dev:MediaWiki:MassRename/code.js',                'u:dev:MediaWiki:MassProtect/code.js',                'u:dev:MediaWiki:AjaxBatchDelete.js',                'u:dev:MediaWiki:WHAM/code.2.js',                'u:dev:MediaWiki:MassBlock/code.js',                'u:dev:MediaWiki:MassEdit/code.js'            ]        } ); }

window.RailBotScriptLoaded = true; })( mediaWiki, this );