Page MenuHomePhabricator

Experimental: "parselet" minimal PHP implementation of Parsoid for VE
Closed, DeclinedPublic0 Estimated Story Points

Description

There's a lot of demand for VisualEditor on third-party MediaWiki instances but the Parsoid dependency is a potential roadblock for site admins.

If total source compatibility with Wikipedia articles/templates is not required, perhaps we could get away with a PHP implementation of the HTML<->wikitext conversion that's a lot simpler, and wouldn't require the external node-based daemon. This could ship as a class that comes in the VisualEditor extension, if that makes sense, or a library, or ..... who knows. Anyway, worth trying out briefly.

Alternative is to say "folks wanting this should use HTML content model", in which case VE also needs to support that...

Event Timeline

brion claimed this task.
brion raised the priority of this task from to Low.
brion updated the task description. (Show Details)
brion added a project: VisualEditor.
brion subscribed.

Oh, my eyes. Can we come up with a less-insane name? :-)

brion renamed this task from Experimental: "pharsoid" minimal PHP implementation of Parsoid for VE to Experimental: "parselet" minimal PHP implementation of Parsoid for VE.Feb 2 2015, 10:41 PM
brion set Security to None.

How's "Parselet"? :)

I don't actually care, but "Parselet" is cute. :-)

@GWicke -- I actually don't want to make a port, but a simplified markup that would explicitly break some source compat. (If that ends up being too weird then I'll aim for the HTML content-model case and see what that'll take. Opened task T88353 for that, since it'd still need some tweaks.)

Dropping this old experimental idea task (though we're now more seriously talking about a PHP version of Parsoid for the future, which will be on separate tasks).