On 01/19/2015 08:15 AM, MZMcBride wrote:
Currently Parsoid is the largest client of the MediaWiki PHP parser, I'm told. If Parsoid is regularly calling and relying upon the MediaWiki PHP parser, what exactly is the point of Parsoid?
Parsoid can go:
wikitext => HTML => wikitext
The MediaWiki parser can only go:
wikitext => HTML
The most important part of Parsoid is thus the HTML => wikitext conversion (required for VisualEditor), but other parts of their architecture follow from that.
And from this question flows another: why is Parsoid calling MediaWiki's api.php so regularly?
I think it uses it for some aspects of templates and hooks. I'm sure the Parsoid team could explain further.
Matt Flaschen