Wikia

Community Central

Add Contributions back to account drop menu

93,782pages on
this wiki

Forum page

This Forum has been archived

Visit the new Forums
Forums: Index Community Central Forum Add Contributions back to account drop menu
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1364 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


Ever since the Oasis skin was introduced, one of the things I couldn't figure out was why they took the "Contributions" link away from the user submenu. I forgot about it for awhile, but I realized I could probably get it back with JS (+ JQuery).

So if you put the following in Special:MyPage/wikia.js (to enable it only on a specific wiki) or Special:MyPage/global.js on Community (for all wikis), you can get the Contributions link back:

function UserContribsMenuItem() {
	$('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('<li><a href="/wiki/Special:Contributions/'+ encodeURIComponent (wgUserName) +'">Contributions</a></li>');
}

addOnloadHook(UserContribsMenuItem);

As usual, please report any bugs to me. I'm not a JS wiz, but hopefully I can fix them. -- Fandyllic (talk · contr) 9:07 AM PST 25 Dec 2010

Around Wikia's network

Random Wiki