http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99786
Revision: 99786
Author: preilly
Date: 2011-10-14 18:38:13 +0000 (Fri, 14 Oct 2011)
Log Message:
-----------
add back content type header for wml view
Modified Paths:
--------------
trunk/extensions/MobileFrontend/MobileFrontend.php
Modified: trunk/extensions/MobileFrontend/MobileFrontend.php
===================================================================
--- trunk/extensions/MobileFrontend/MobileFrontend.php 2011-10-14 18:36:56 UTC
(rev 99785)
+++ trunk/extensions/MobileFrontend/MobileFrontend.php 2011-10-14 18:38:13 UTC
(rev 99786)
@@ -1090,7 +1090,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