Page MenuHomePhabricator

Parsoid Rich Attributes phase 1a
Open, Needs TriagePublic

Description

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

In phase 1a of the rich attribute work, we have a uniform representation of all live attributes in the databag, with generic rules for serialization and deserialization.

A number of ad-hoc uses of the data bag can be converted to rich attributes in this phase of the work (see ::loadDataAttribs):

  • data-mw-i18n
  • data-parsoid-diff

[] data-mw-variant (This requires T348161)

And possibly:

  • data-mw
  • data-parsoid

Event Timeline

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

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

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

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

[mediawiki/services/parsoid@master] Port data-mw-i18n to use new generic rich attribute support

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