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


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...

brion created this task.Feb 2 2015, 10:37 PM
brion updated the task description. (Show Details)
brion raised the priority of this task from to Low.
brion claimed this task.
brion added a project: VisualEditor.
brion added a subscriber: brion.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 2 2015, 10:37 PM

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. :-)

@brion, afaik @tstarling already tried to port the serializer.

@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.)

Jdforrester-WMF edited a custom field.
brion closed this task as Declined.Jan 29 2018, 7:37 PM

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).