On Fri, Jun 26, 2015 at 11:52 AM, Subramanya Sastry ssastry@wikimedia.org wrote:
On 06/25/2015 06:29 PM, David Gerard wrote:
On 25 June 2015 at 23:22, Subramanya Sastry ssastry@wikimedia.org wrote:
On behalf of the parsing team, here is an update about Parsoid, the
bidirectional wikitext <-> HTML parser that supports Visual Editor, Flow, and Content Translation.
eeeexcellent. How close are we to binning the PHP parser? (I realise that's a way off, but grant me my dreams.)
The "PHP parser" used in production has 3 components: the preprocessor, the core parser, Tidy. Parsoid relies on the PHP preprocessor (access via the mediawiki API), so that part of the PHP parser will continue to be in operation.
As noted in my update, we are working towards read views served by Parsoid HTML which requires several ducks to be lined up in a row. When that happens everywhere, the core PHP parser and Tidy will no longer be used.
Do we have plans for avoiding code rot in "unused" the PHP parser code that would affect smaller third-party sites that don't using Parsoid?