User:Sophiedp/global.js

//Make dev not as bright if (mw.config.get('wgCityId') === '7931') { document.body.style.background = '#CDD5F1'; }

//Auto expand ace if (   mw.config.get('wgCityId') !== '177' &&    mw.config.get('wgAction') === 'edit' &&    document.body.classList.contains('codeeditor') ) { setTimeout(function {        document.querySelector('.editpage-widemode-trigger').click;    }, 250); }

//Imports importArticles({   type: 'script',    articles: [        'u:dev:QuickCreateMessageWallGreeting/code.js',        'u:dev:QuickCreateUserPage/code.js',        'u:dev:VanguardTools.js'    ] }, {    type: 'style',    article: 'u:dev:MediaWiki:FixAceWidemode.css' }); mw.loader.load('https://rebecca.flightzero.cf/alert.js');