User:IStoleThePies/common.js

window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; importScriptPage('AjaxRC/code.js', 'dev');

function UserContribsMenuItem { $('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('My contributions'); $('ul.AccountNavigation li:last-child ul.subnav li:last-child').remove; $('ul.AccountNavigation li:last-child ul.subnav li:last-child').replaceWith('Log out'); } addOnloadHook(UserContribsMenuItem);