MediaWiki:PurgeButton/code.js

// if( wgNamespaceNumber != -1 && !window.PurgeButtonsLoaded ) addOnloadHook( addPurgeButton ); var PurgeButtonsLoaded = true; // prevent duplication

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

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

} }

//