MediaWiki:I18n-js/editor-loader.js

(function {    'use strict';

var conf = mw.config.get([       'wgCityId',        'wgPageName',        'wgUserGroups'    ]);

// Don't bother loading unless we're on the correct page and logged in   if (        conf.wgCityId !== '7931' ||        conf.wgPageName.slice(0, 26).toLowerCase !== 'special:blankpage/i18nedit' ||        conf.wgUserGroups.indexOf('user') === -1    ) { return; }

importArticles({       type: 'script',        articles: 'MediaWiki:I18n-js/editor.js'    }); });