2009/3/19 lee worden <won...@riseup.net>: > 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 _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l