MediaWiki:SkinSwitchButton/code.js

// if( wgNamespaceNumber != -1 && !window.SkinSwitchLoad  ) {	addOnloadHook( addSkinSwitchButton ); } var SkinSwitchLoad = true; // prevent duplication

function addSkinSwitchButton { switch( skin ) { case 'answers': /* pass to monaco */ case 'awesome': case 'monaco': $(' monobook').appendTo('#page_controls'); break;

case 'uncyclopedia': /* pass to monobook */ case 'monobook': $('monaco').appendTo('#p-cactions > .pBody > ul'); break;

} } //