MediaWiki:Common.js/SandboxNav.js

/* Any JavaScript here will be loaded for all users on every page load. */ /** Add MySandbox to Account Navigation in the Wikia skin **/ $(document).ready(function {   $('My Sandbox  ').insertAfter('.AccountNavigation > li > .subnav > li:first-child'); }); $(document).ready(function {   if (mw.config.get('wgUserGroups') === null)        $('My Sandbox  ').insertBefore('.contribute ul li:first-child'); });