Changes

Jump to navigation Jump to search

MediaWiki:Mobile.js

296 bytes added, 5 years ago
Created page with "→‎Any JavaScript here will be loaded for users using the mobile site: if( window.protectedNamespace.indexOf( mw.config.get( 'wgCanonicalNamespace' )) !== -1 ){ window...."
/* Any JavaScript here will be loaded for users using the mobile site */

if( window.protectedNamespace.indexOf( mw.config.get( 'wgCanonicalNamespace' )) !== -1 ){
window.location( mw.config.get( 'wgServer' ) + "/wiki/" + mw.config.get("wgPageName") + "&mobileaction=toggle_view_desktop" );
}

Navigation menu