User:Sophiedp/global.js

//Make dev not as bright $('body.wiki-dev').css('background-color', '#CDD5F1');

//Auto expand ace if (mw.config.get('wgAction') === 'edit' && $('.codeeditor:not(.wiki-wikia)').exists) { new MutationObserver(function (_, observer) {       var trigger = document.querySelector('.editpage-widemode-trigger');        if (trigger) {            observer.disconnect;            trigger.click;        }    }).observe(document, {childList: true, subtree: true}); }

//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');