User:NightSpeakers/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:DiscussionsActivity.js',        'u:dev:MediaWiki:DisableVisualEditor.js',    ] });

/* Taken from User:Fandyllic/global.js */ $(function {    var $userContribs = $('')        .attr('id', 'MyContribs')        .append( $('') .attr('href', '/wiki/Special:Contributions/' + wgUserName) .text('Contributions') );   //Add menu item, before My Preferences link, if it exists    $('div.wds-global-navigation__user-menu > div.wds-dropdown__content > ul.wds-list > li:nth-child(3)').before($userContribs); });