Page MenuHomePhabricator

Kartographer + Parsoid: Content in marker wikitext is not entirely post-processed before storing it in ExtensionData
Open, MediumPublicBUG REPORT

Description

The content stored in ExtensionData and subsequently displayed in maps is not entirely post-processed by Parsoid.

This has the following consequences:

  • the later phases of processing in the pipeline are not executed: the HTML is not cleaned up properly, which may lead to undesired bloat
  • red links are not detected
  • when localization support is added, that pass will not be run on the stored HTML by default.

This can be mitigated by executing a full recursive parsing (either Parsoid or legacy) of this content, but this may trigger other problems, in particular around Cite. Another path may be to add a later hook for that sort of cases.