2009/3/19 lee worden <wonder(a)riseup.net>et>:
I'm at work on a MW extension that, among other
things, uses LaTeXML [1] to
make XHTML from full LaTeX documents. One feature is the option to render
the equations in MathML, which requires the skins to be patched so that they
output the page as Content-type: application/xhtml+xml instead of text/html.
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.
It should be done with the Parser Output instead.
This mailing list does not accept attachments
--
Andrew Garrett