Page MenuHomePhabricator

Parsoid Rich Attributes phase 1b
Closed, ResolvedPublic

Description

See https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec/Rich_Attributes

In phase 1b of this work, support for live DocumentFragments is added, which are stored in a <template> bank and serialized -- initially as inline HTML with the <template>s stripped, but optionally/in the future as references to <template> ids.

After the infrastructure is present, the following bits can be converted to the use of the rich attribute mechanisms (see DOMTraverser and ContentUtils::processAttributeEmbeddedHTML):

  • the data-mw-variant attribute
  • expanded attributes
  • inline media (inside data-mw attribute)
  • "extension specific embedded HTML"

Event Timeline

cscott updated Other Assignee, added: Arlolra.

Change 964059 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/services/parsoid@master] WIP: Rich attribute support, phase 1b

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

Change #1079356 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/services/parsoid@master] WIP: Rich attribute support, phase 1b (TEMPLATE BANK VERSION)

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

Change #1079356 abandoned by C. Scott Ananian:

[mediawiki/services/parsoid@master] WIP: Rich attribute support, phase 1b (TEMPLATE BANK VERSION)

Reason:

Abandoned in favor of I4e8e56ddf8a103e3172b13bde62b4c6478d46e30

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

Change #964059 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Rich attribute support, phase 1b

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

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

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.21.0-a22

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

Change #1130555 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.21.0-a22

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