r89992 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89991‎ | r89992 | r89993 >
Date:18:42, 13 June 2011
Author:preilly
Status:deferred
Tags:
Comment:
change default for vnd.wap.xhtml
Modified paths:
  • /trunk/extensions/MobileFrontend/DeviceDetection.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/DeviceDetection.php
@@ -364,7 +364,7 @@
365365
366366 if ( $formatName === '' ) {
367367 if ( strpos( $acceptHeader, 'application/vnd.wap.xhtml+xml' ) !== false ) {
368 - $formatName = 'wml';
 368+ $formatName = 'html';
369369 } elseif ( strpos( $acceptHeader, 'vnd.wap.wml' ) !== false ) {
370370 $formatName = 'wml';
371371 } else {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89222remove unused format namepreilly19:43, 31 May 2011

Status & tagging log