MediaWiki:MobileWarning

 if(typeof(skin) == 'undefined') { mobileWarning } else if(skin === 'wikiamobile') { mobileWarning }

function mobileWarning { var mobilePrompt = confirm("Oops! This page is not compatible with our mobile site. Would you like to use our full site instead?"); if (mobilePrompt === true) { document.location.href = wgServer + '/wiki/' + wgPageName + '?useskin=oasis'; } }