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.
- Parser Functions v3 (T373253, T394834, T394836)
- T348162: Parsoid Rich Attributes phase 2
- T391844: Convert data-mw-variant to use rich attributes (might be done before 3.0.0 since language variant support is considered unstable)
- Inconsistencies in generated attributes / attribute expander
- * T417525: Remove `alt=` prefix from Parsoid data-mw.attrs representation of media alt options.
- Relocate expanded attributes in image markup
- Extension-specific markup (esp Cite)
- Using _h for HTML, as DOMDataCodec does in Parsoid
- Potentially parts of T348165: Parsoid Rich Attributes phase 3, especially if this can be done with an implicit schema keyed by attribute name.
- Other things from https://www.mediawiki.org/wiki/Specs/HTML/Experimental
- HTML based LST
- Gallery RDFa
- Typed Templates
- <div> instead of <span> for references? T49544: <references/> list item must not wrap the text in <span>
- fewer about attributes on transclusions during wt2html: https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec/Template_Continuity
- about attributes on transclusions for html2wt: T404479: Require `about` IDs on transclusion nodes during html2wt
- data-mw.parts ordering: T404772: `data-mw.parts` should be sufficient to recreate argument order and named/positional for all transclusions
- maybe aria-labelled by on <section> (T406897)
- Rename mw:Placeholder to mw:Uneditable (T303298#7761772, https://www.mediawiki.org/wiki/Specs/HTML/2.8.0#Expectations_of_editing_clients)
- T331655: Support `outputHasCoreMwDomSpecMarkup='mixed'` in Parsoid extension registration