Board Thread:Technical Updates/@comment-126761-20180529210905/@comment-168424-20180530235216

Matthew Cenance wrote:

I think you should add a "My Contributions" button to the user drop down menu in the header bar. That way less clicks are required to reach your contributions page.

Just add the following code to w:Special:MyPage/global.js: /* Add a menu item to profile menu with link to user contributions in modernized UI */ $(function {    var $userContribs = $('')        .attr('id', 'MyContribs')        .append( $('') .attr('href', '/wiki/Special:Contributions/' + wgUserName) .addClass('wds-global-navigation__dropdown-link') .text('My Contributions') );   //Add menu item, after Message Wall link, if it exists    $('.wds-global-navigation__user-menu li').has('a[data-tracking-label="account.message-wall"]')        .after($userContribs);    //Add menu item, after My Talk link, if it exists    $('.wds-global-navigation__user-menu li').has('a[data-tracking-label="account.talk"]')        .after($userContribs); });