User:StalwartUK/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' ).appendTo( '#AccountNavigation' ); $( 'WM' ).appendTo( '#AccountNavigation' );		} else {			$( 'Oasis' ).appendTo( '#p-cactions > .pBody > ul' ); $( 'Mobile' ).appendTo( '#p-cactions > .pBody > ul' );		} 	} } );

// Go directly to file page of images/videos ( http://dev.wikia.com/wiki/NoImageLightbox )

window.NoImageLightbox = { novideo: true }; importArticles({   type: 'script',    articles: [        'u:dev:NoImageLightbox/code.js'    ] });