I just realised by chance that we now have a CodexHTMLForm. However, it is not documented in https://www.mediawiki.org/wiki/HTMLForm or any other place that I could think of. I was curious to see how it works in practice, so I tried it in a few places, but it looks like it might be a WIP, given that some fields look incomplete/partially styled. It would be nice to have documentation and a task to follow the progress.
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
In Progress | bmartinezcalvo | T355148 [EPIC] Multiblocks | |||
Open | None | T348124 Document CodexHTMLForm |
Event Timeline
Hi @Daimona – I believe that this class was created to facilitate the removal of MediaWiki UI from some older interfaces (see T182050) – we haven't quite settled on a full solution for how Codex-compatible markup should be generated without relying in the Vue.js components (but I believe this is an important question – see T326850 and its parent task).
If you have a particular use-case in mind or other thoughts on this topic, feel free to share your thoughts on the linked task. Thanks!
Ah, thank you, it makes sense.
If you have a particular use-case in mind or other thoughts on this topic, feel free to share your thoughts on the linked task. Thanks!
I think this has a lot of potential use cases (anything that currently uses HTMLForm). Just as an example, my team would like to experiment with the OOUI -> Codex migration (T306720), but we had some doubts about migrating HTMLForm pages. But then again, I think this could be used in lots of places :)