On 05/15/2014 04:42 PM, Daniel Kinzler wrote:
The one thing that will not work on wikis with $wgRawHtml disabled is parsing the output of expandtemplates.
Yes, which means that it won't work with Parsoid, Flow, VE and other users.
I do think that we can do better, and I pointed out possible ways to do so in my earlier mail:
My preference would be to let the consumer directly ask for pre-expanded wikitext *or* HTML, without overloading action=expandtemplates. Even indicating the content type explicitly in the API response (rather than inline with an HTML tag) would be a better stop-gap as it would avoid some of the security and compatibility issues described above.
Gabriel