User:8nml/global.js

// No discords (function (window, $, mw) {   window.Discord = window.DiscordIntegratorLoaded = { init: true };    function removeWidget(el) {        el instanceof $            ? el.remove            : el.parentNode.removeChild(el);    }    mw.hook('Discord.widget.rail').add(removeWidget);    mw.hook('DiscordIntegrator.added').add(removeWidget); }(this, jQuery, mediaWiki)); // Better editing importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:CodeEditor.js',        'u:dev:MediaWiki:MobileEditor.js',        'u:dev:MediaWiki:WhatLinksHere/code.js',        'u:dev:MediaWiki:PurgeButton/code.js',        'u:dev:MediaWiki:View Source/code.js'    ] }); // Fix math js bug mw.hook('wikipage.content').add(function($content) {   if ($content.find('.tex')) {        mw.loader.load('ext.math.mathjax.enabler');    } });