Changes

Jump to navigation Jump to search

MediaWiki:Common.js

20 bytes removed, 13:32, 6 April 2013
rewrite
/* Any JavaScript here will be loaded for all users on every page load. */
if(documentnavigator.documentElementuserAgent.clientWidth <= 787 && document.URLtoLowerCase().searchindexOf("mobileandroid") =!= -1)
{
if(navigator.userAgent.toLowerCase().indexOf("android") != -1) { document.location(document.URL + "?useformat=mobile"); } elseif(document.documentElement.clientWidth <= 787 && document.URL.search("mobile") == -1) { window.location.replace(document.URL + "?useformat=mobile"); }
}

Navigation menu