Page MenuHomePhabricator

Make PageImages extension compatible with Parsoid
Open, Needs TriagePublic

Description

Parsoid has its own extension API - see https://www.mediawiki.org/wiki/Parsoid/Extension_API.

The PgaeImages extension needs an update to work directly with Parsoid so that we can switch Wikimedia wikis to use Parsoid instead of core parser in late 2021.

The Parsing Team will work with you as required.

Looking at the code, it appears that the Parsoid Extension API needs to provide a suitable entry point or equivalent hook for the hooks this extension currently uses. But, the actual parser API use is fairly minimal and should translate over fairly easily with some minor abstraction / twiddling of some method signatures.

Event Timeline

Jdlrobson added subscribers: ovasileva, JTannerWMF, Jdlrobson.

Please contact Jazmin or Olga to set expectations and ensure this work gets scheduled. This extension is currently going through a code stewardship review so is unlikely to get worked on by us otherwise.

@Jdlrobson what's the resolution of this extension ownership?

Apologies for not being clearer. It's unmaintained right now. The code stewardship process doesn't exist any more. I am not sure which team would/could work on this. Web team relies on this extension but doesnt have much understanding of code (the author(s) left WMF a long time ago) so I think it would be considerable work to get the team up to speed with it and that would be at the expense of other deliverables.

So I think the big question here is whether content transform can do this themselves and if not who (team? Individuals?) can help and what level of work can they provide. Seems like a conversation between the two teams would be a good starting point?