Page MenuHomePhabricator

Make CharInsert extension compatible with Parsoid
Open, MediumPublic

Description

Parsoid has its own extension API - see https://www.mediawiki.org/wiki/Parsoid/Extension_API.
In this first phase, we are targeting tag-hook extensions for migration.
The CharInsert extension needs an update to work directly with Parsoid.

Event Timeline

Arlolra triaged this task as Medium priority.Feb 25 2021, 6:55 PM

Looking at the CharInsert code, I think we can safely proxy this to the legacy parser for now without any impact. So, removing this as a blocker.
But, for anyone looking at this, it should be simple to create Parsoid-native handlers.