Le 19.3.2009 4:46, « lee worden » <[email protected]> a écrit :

> Attached is a patch for the skins directory that allows changing the
> Content-type dynamically.  After applying this patch, if any code sets the
> global $wgServeAsXHTML to true, the page will be output with the xhtml+xml
> content type.  This seems to work fine with the existing MW XHTML pages.

Can't you set $wgMimeType = 'application/xhtml+xml'; in LocalSettings.php to
serve pages with application/xhtml+xml content type?

Alexandre Emsenhuber (ialex)



_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to