What's to patch? This is already a configuration variable, just set  
it...

-- brion vibber (brion @ wikimedia.org)

On Mar 18, 2009, at 21:24, Andrew Garrett <[email protected]>  
wrote:

> 2009/3/19 lee worden <[email protected]>:
>> 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

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

Reply via email to