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('div.wds-global-navigation__user-menu div.wds-dropdown__content li'); });

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

/* */