User:Sophiedp/global.js

/* Make Ace and source use the dark theme on Community Central */ /** Needed here so that it runs in time for Ace **/ if (mw.config.get('wgCityId') === '177' && mw.config.get('wgAction') === 'edit') { mw.config.set('wgIsDarkTheme', true); }

/* Now with an actual linter, better syntax highlighting, and ES6! */ mw.loader.load('https://a-sina.herokuapp.com/cerria.js');