User:Monochromatic Bunny/common.js

/* Add a menu item to profile menu with link to user contributions in modernized UI v2 */ $(function {    var $userContribs = $('')        .attr('id', 'Admins')        .append( $('') .attr('href', '/wiki/Special:ListAdmins') .text('Admins') );   //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); });