User:Noemon/global.js

// importScriptPage('Main Page/Asteroid.js', 'oni'); //importScriptPage( 'AjaxRC/code.js', 'dev' ); //var ajaxPages = ["Special:WikiActivity"];

//var Speed = 1000; //importScriptPage('BackToTopButton/code.js', 'dev'); importScriptPage('OasisToolbarButtons/code.js', 'dev');

function addSkinSwitchButton { switch( skin ) { case 'uncyclopedia': /* pass to monobook */ case 'wikiaphone': /* pass to monobook */ case 'monobook': $('Oasis').appendTo('#p-cactions > .pBody > ul'); break;

case 'oasis': case 'wikia': $('Monobook').appendTo('#GlobalNavigation'); break; } }

if( wgNamespaceNumber != -1 && !window.SkinSwitchLoad ) { addOnloadHook( addSkinSwitchButton ); }

var SkinSwitchLoad = true; // prevent duplication