MediaWiki:Global.js

// Skin Switch Button for monobook to oasis and vice versa // and for monobook and oasis to wikiamobile

$( function {	if ( !document.getElementById( 'ca-skins' ) ) {		if ( skin === 'oasis' || skin === 'wikia' ) {			$( 'MonoBook' ).appendTo( '#AccountNavigation' ); $( 'WikiaMobile' ).appendTo( '#AccountNavigation' );		} else {			$( 'Oasis' ).appendTo( '#p-cactions > .pBody > ul' ); $( 'WikiaMobile' ).appendTo( '#p-cactions > .pBody > ul' );		} 	} } );