Page MenuHomePhabricator

MediaWiki DOM Spec version 3.0.0
Open, Needs TriagePublic

Description

The MediaWiki DOM Spec is currently at version 2.8.0, and we've effectively frozen it until the completion of the Parsoid Read Views roll out. But once that is complete, there are a number of changes and improvements we'd like to make. This task attempts to collect them.

  1. Parser Functions v3 (T373253, T394834, T394836)
  2. T348162: Parsoid Rich Attributes phase 2
  3. Potentially parts of T348165: Parsoid Rich Attributes phase 3, especially if this can be done with an implicit schema keyed by attribute name.
  4. Other things from https://www.mediawiki.org/wiki/Specs/HTML/Experimental
    • HTML based LST
    • Gallery RDFa
    • Typed Templates
  5. <div> instead of <span> for references? T49544: <references/> list item must not wrap the text in <span>
  6. fewer about attributes on transclusions during wt2html: https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec/Template_Continuity
  7. about attributes on transclusions for html2wt: T404479: Require `about` IDs on transclusion nodes during html2wt
  8. data-mw.parts ordering: T404772: `data-mw.parts` should be sufficient to recreate argument order and named/positional for all transclusions
  9. maybe aria-labelled by on <section> (T406897)
  10. Rename mw:Placeholder to mw:Uneditable (T303298#7761772, https://www.mediawiki.org/wiki/Specs/HTML/2.8.0#Expectations_of_editing_clients)
  11. T331655: Support `outputHasCoreMwDomSpecMarkup='mixed'` in Parsoid extension registration

Event Timeline

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

[mediawiki/services/parsoid@master] Add rich value for `alt` attribute on `img` nodes

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