User:Sophiedp/global.js

/* Community Central only JS */ if (mw.config.get('wgCityId') === '177') { /* Make Ace and source use the dark theme */ /** Needed here so it runs in time for Ace **/ mw.config.set('wgIsDarkTheme', true); /* Global nav things */ window.DashboardLoaded = true; $('.wds-global-navigation__user-menu a[data-tracking-label="account.help"]').parent.hide; importArticle({       type: 'script',        article: 'u:dev:MediaWiki:ContribsLink/code.js'    }); }

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