Page MenuHomePhabricator

Maplink tags in indicators are not working with Parsoid
Closed, ResolvedPublic

Description

Background Information

See an example of wiki page with a maplink in the page status indicator, https://fr.wikipedia.org/wiki/Paris.

What

The Kartographer ParsoidDomProcessor, which handles setting extension data and numbering the maplinks that require a label, is not called on indicators because the HTML rendered by an indicator is stashed in an attribute.

How

Make the ParsoidDomProcessor a traverser that goes through HTML attribute contents.

    1. Acceptance Criteria
  • Maplink tags in page status indicator works properly

Event Timeline

Change 939351 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):

[mediawiki/extensions/Kartographer@master] Process Kartographer content in attribute-embedded HTML

https://gerrit.wikimedia.org/r/939351

Change 939351 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Process Kartographer content in attribute-embedded HTML

https://gerrit.wikimedia.org/r/939351

Verified on beta - indicators are now processed on indicators. Will close after next deployment of Kartographer.