Index: trunk/extensions/PatchOutputMobile/DeviceDetection.php |
— | — | @@ -360,7 +360,7 @@ |
361 | 361 | |
362 | 362 | if ( $formatName === '' ) { |
363 | 363 | if ( strpos( $acceptHeader, 'application/vnd.wap.xhtml+xml' ) !== false ) { |
364 | | - $formatName = 'wap2'; |
| 364 | + $formatName = 'wml'; |
365 | 365 | } elseif ( strpos( $acceptHeader, 'vnd.wap.wml' ) !== false ) { |
366 | 366 | $formatName = 'wml'; |
367 | 367 | } else { |
Index: trunk/extensions/PatchOutputMobile/PatchOutputMobile.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | 'onOutputPageBeforeHTML' ); |
41 | 41 | |
42 | 42 | class ExtPatchOutputMobile { |
43 | | - const VERSION = '0.4.1'; |
| 43 | + const VERSION = '0.4.2'; |
44 | 44 | |
45 | 45 | private $doc; |
46 | 46 | |