r94197 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94196‎ | r94197 | r94198 >
Date:20:50, 10 August 2011
Author:preilly
Status:ok
Tags:
Comment:
fix mobile view
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php
@@ -323,8 +323,7 @@
324324 $xDevice = isset( $_SERVER['HTTP_X_DEVICE'] ) ? $_SERVER['HTTP_X_DEVICE'] : '';
325325
326326 if (self::$useFormat === 'mobile' ||
327 - self::$useFormat === 'mobile-wap' ||
328 - isset( $xDevice ) ) {
 327+ self::$useFormat === 'mobile-wap') {
329328 $this->getMsg();
330329 $this->disableCaching();
331330 ob_start( array( $this, 'DOMParse' ) );

Status & tagging log