MediaWiki:Common.js/accountNavigation.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* */ /** Add MyContributions to Account Navigation in the Wikia skin **/ $(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'); }); /** Adds user sandbox to Account Navigation in the Wikia skin **/ $(document).ready(function {   if ( skin == 'oasis' )        $('My sandbox  ').insertAfter('.AccountNavigation > li > .subnav > li:first-child'); }); $(document).ready(function {   if ( skin == 'oasis' && wgUserGroups == null )        $('My sandbox  ').insertBefore('.contribute ul li:first-child'); }); /* */