User:Dai ca superman/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' ) {			$( 'MB' ).prependTo( '#AccountNavigation' ); $( 'WM' ).prependTo( '#AccountNavigation' ); $( 'Bản in' ).prependTo( '#AccountNavigation' );		} else {			$( 'Oasis' ).prependTo( '#p-cactions > .pBody > ul' ); $( '<a href="/index.php?title=' + encodeURIComponent( wgPageName ) + '&useskin=wikiamobile">Mobile</a></li>' ).prependTo( '#p-cactions > .pBody > ul' ); } 	} } );