MediaWiki:Gadget-accountnavigation.js

// //Add extra AccountNav options /* */   if (navLinks) return; var user = mw.util.wikiUrlencode(mw.config.get('wgUserName')), links = { contribs: { text: 'My Contributions', url: '/wiki/Special:Mycontributions' },       blogs: { text: 'My Blogs', url: '/wiki/User_blog:' + user },       watchlist: { text: 'My Watchlist', url: '/wiki/Special:Watchlist' },       followed: { text: 'My Followed Pages', url: '/wiki/Special:Following' }   },        html = '', navLinks = true; for (var i in links) { html += '' + links[i].text + ''; }   document.querySelector('.wds-global-navigation__user-menu .wds-list > li:nth-child(2)').insertAdjacentHTML('afterEnd', html); }); // //
 * (function {