r89854 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89853‎ | r89854 | r89855 >
Date:22:18, 10 June 2011
Author:preilly
Status:deferred
Tags:
Comment:
small fix for dir
Modified paths:
  • /trunk/extensions/MobileFrontend/DeviceDetection.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/DeviceDetection.php
@@ -356,8 +356,10 @@
357357 $formatName = 'psp';
358358 } elseif ( preg_match( '/PLAYSTATION 3/', $userAgent ) ) {
359359 $formatName = 'ps3';
 360+ } elseif ( preg_match( '/SAMSUNG/', $userAgent ) ) {
 361+ $formatName = 'html';
360362 }
361 -
 363+
362364 if ( $formatName === '' ) {
363365 if ( strpos( $acceptHeader, 'application/vnd.wap.xhtml+xml' ) !== false ) {
364366 $formatName = 'wml';

Status & tagging log