Blockers: https://gerrit.wikimedia.org/r/c/design/codex/+/919207 and T336548 and T336533 and Codex v0.10.0
In T335710 we worked out the remaining blockers for switching to Codex markup. This task is for making the actual change.
Cached HTML should not be a problem for the most part, as mediawiki.ui.icon/mediawiki.ui.button will be loaded alongside the old mark up.
TODO
- Make sure MediaWiki core is using a Codex version greater than v0.10.0 with fixes for the blockers above
We will switch the markup for:
- Buttons
- Icons
- Check <label> and <a> elements in particular. Codex doesn't reset these so we'll need to do that inside Vector to make sure they look correct.
For the purpose of this ticket you can make assumptions that all blockers are merged, and performance is not going to be a problem.
https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/912974 can be used as a reference of the expected code change.
QA
- As part of code review before merging run Pixel locally
- Verify visual changes in Pixel.wmcloud.org and confirm they are expected.
- Either instigate a code freeze OR Update the pixel instance to run Pixel with the new markup so that we don't miss further visual regressions.