http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94197

Revision: 94197
Author:   preilly
Date:     2011-08-10 20:50:46 +0000 (Wed, 10 Aug 2011)
Log Message:
-----------
fix mobile view

Modified Paths:
--------------
    branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php

Modified: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
===================================================================
--- branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php  
2011-08-10 20:43:19 UTC (rev 94196)
+++ branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php  
2011-08-10 20:50:46 UTC (rev 94197)
@@ -323,8 +323,7 @@
                $xDevice = isset( $_SERVER['HTTP_X_DEVICE'] ) ? 
$_SERVER['HTTP_X_DEVICE'] : '';
 
                if (self::$useFormat === 'mobile' ||
-                       self::$useFormat === 'mobile-wap' ||
-                       isset( $xDevice ) ) {
+                       self::$useFormat === 'mobile-wap') {
                                $this->getMsg();
                                $this->disableCaching();
                                ob_start( array( $this, 'DOMParse' ) );


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to