http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99730

Revision: 99730
Author:   preilly
Date:     2011-10-13 20:37:13 +0000 (Thu, 13 Oct 2011)
Log Message:
-----------
remove content type header for wml

Modified Paths:
--------------
    trunk/extensions/MobileFrontend/MobileFrontend.php

Modified: trunk/extensions/MobileFrontend/MobileFrontend.php
===================================================================
--- trunk/extensions/MobileFrontend/MobileFrontend.php  2011-10-13 20:35:53 UTC 
(rev 99729)
+++ trunk/extensions/MobileFrontend/MobileFrontend.php  2011-10-13 20:37:13 UTC 
(rev 99730)
@@ -1018,7 +1018,7 @@
                } elseif ( $this->contentFormat == 'WML' ) {
                        $homeButton = 
self::$messages['mobile-frontend-home-button'];
                        $randomButton = 
self::$messages['mobile-frontend-random-button'];
-                       header( 'Content-Type: text/vnd.wap.wml' );
+                       // header( 'Content-Type: text/vnd.wap.wml' );
 
                        // TODO: Content transformations required
                        // WML Validator:


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to