User "TheDJ" posted a comment on MediaWiki.r89222.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89222#c21718
Commit summary:

remove unused format name

Comment:

if ( strpos( $acceptHeader, 'text/html' ) !== false ) { $formatName = 'html'; 
is correct

and

if ( strpos( $acceptHeader, 'application/vnd.wap.xhtml+xml' ) !== false ) { 
$formatName = 'xhtml mp'; // wap2.0 whatever you want to name it.

xhtml mp is much more limited then html. If a device were to support html, it 
would report as text/html, not as wap 2.0.

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

Reply via email to