James Forrester jforrester@wikimedia.org writes:
There's also #3 – doing all the dozens of things that the wikitext parser does on ingestion. All the redlinks and categories tables, building a user-land (not UI) HTML template system for transclusions, media updates, *etc.* Not a trivial task.
If I'm not mistaken, the MW Parser already does thos and Parsoid relies on MW for this.
So assuming we can go from Wikitext -> HTML (we already can) and HTML -> Wikitext (which is, AFAICT, what we would need a PHP implementation of) then we're golden!
Mark.