r89861 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89860‎ | r89861 | r89862 >
Date:23:21, 10 June 2011
Author:preilly
Status:deferred
Tags:
Comment:
small fix for blackberry
Modified paths:
  • /trunk/extensions/MobileFrontend/DeviceDetection.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/DeviceDetection.php
@@ -358,6 +358,8 @@
359359 $formatName = 'ps3';
360360 } elseif ( preg_match( '/SAMSUNG/', $userAgent ) ) {
361361 $formatName = 'html';
 362+ } elseif ( preg_match( '/BlackBerry/', $userAgent ) ) {
 363+ $formatName = 'blackberry';
362364 }
363365
364366 if ( $formatName === '' ) {

Status & tagging log