User:TyA/accountNavigation.js

/* */ /** Add MyContributions to Account Navigation in the Wikia skin Source: http://runescape.wikia.com/wiki/MediaWiki:Common.js/accountNavigation Credits for it can be found there. **/

$(document).ready(function {   if ( skin == 'oasis' )        $('My contributions  ').insertAfter('.AccountNavigation > li > .subnav > li:first-child'); });

$(document).ready(function {   if ( skin == 'oasis' && wgUserGroups == null )        $('My contributions  ').insertBefore('.contribute ul li:first-child'); });

/* */