User:Pretty Lightningreed (PL)/global.js

importArticles({   type: 'script',    articles: [        // ...        'u:dev:MediaWiki:AntiSoundcloud/code.js',        // ...    ] });

window.gnWikiLinks = ['//vi.milomurphyslaw.wikia.com|Vietnam MML', '//milomurphyslaw.wikia.com|MML']; $(function {    var $menu = $('.wds-global-navigation__link-group .wds-list'),        links = window.gnWikiLinks || [];    if (!$menu.length || !links.length) return;    links.forEach(function (v) { var link = v.replace(/\[|\]/g, ''), $a = $('', {               href: (/(.*?)\||$/.exec(link) || {})[1] || link,                text: (/\|(.*)/.exec(link) || {})[1] || link,                title: link            }); $menu.prepend($('').append($a)); }); });