http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89222
Revision: 89222
Author: preilly
Date: 2011-05-31 19:43:31 +0000 (Tue, 31 May 2011)
Log Message:
-----------
remove unused format name
Modified Paths:
--------------
trunk/extensions/PatchOutputMobile/DeviceDetection.php
trunk/extensions/PatchOutputMobile/PatchOutputMobile.php
Modified: trunk/extensions/PatchOutputMobile/DeviceDetection.php
===================================================================
--- trunk/extensions/PatchOutputMobile/DeviceDetection.php 2011-05-31
17:51:30 UTC (rev 89221)
+++ trunk/extensions/PatchOutputMobile/DeviceDetection.php 2011-05-31
19:43:31 UTC (rev 89222)
@@ -360,7 +360,7 @@
if ( $formatName === '' ) {
if ( strpos( $acceptHeader,
'application/vnd.wap.xhtml+xml' ) !== false ) {
- $formatName = 'wap2';
+ $formatName = 'wml';
} elseif ( strpos( $acceptHeader, 'vnd.wap.wml' ) !==
false ) {
$formatName = 'wml';
} else {
Modified: trunk/extensions/PatchOutputMobile/PatchOutputMobile.php
===================================================================
--- trunk/extensions/PatchOutputMobile/PatchOutputMobile.php 2011-05-31
17:51:30 UTC (rev 89221)
+++ trunk/extensions/PatchOutputMobile/PatchOutputMobile.php 2011-05-31
19:43:31 UTC (rev 89222)
@@ -39,7 +39,7 @@
'onOutputPageBeforeHTML' );
class ExtPatchOutputMobile {
- const VERSION = '0.4.1';
+ const VERSION = '0.4.2';
private $doc;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs