User:Fewfre/global.js/SkinSwitchButton.js

/* Based on: http://dev.wikia.com/wiki/SkinSwitchButton and http://dev.wikia.com/wiki/Talk:SkinSwitchButton

// Skin Switch Button for monobook to oasis and vice versa $( function {    if ( !document.getElementById( 'ca-skins' ) ) {        if ( skin === 'oasis' || skin === 'wikia' ) {            $('MonobookMobile').appendTo('#WikiaBarWrapper ul.tools');        } else {            $( 'OasisMobile' ).appendTo('#p-cactions > .pBody > ul' );        }    } } );