HTMLForm's submit and button fields doesn't get the mediawiki ui classes when $wgUseMediaWikiUIEverywhere is set to true.
Description
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/core | master | +14 -2 | Add support for MediaWiki UI for buttons and submits in HTMLForm |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T73215 Use HTMLCheckField and remove NewHTMLCheckField | |||
Declined | • Mattflaschen-WMF | T99211 Eliminate $wgUseMediaWikiUIEverywhere, leaving 'on' behavior | |||
Declined | • Mattflaschen-WMF | T72424 Set $wgUseMediaWikiUIEverywhere = true | |||
Declined | None | T72913 Remove $wgUseMediaWikiUIEverywhere dependency for button and text input styling | |||
Declined | Florian | T99010 HTMLForm fields submit and button should support $wgUseMediaWikiUIEverywhere |
Event Timeline
Are you saying you want to force it to 'vform' if wgUseMediawikiUIEverywhere is true? It already uses it in getButtons, and indirectly via the form fields themselves.
No :) VForm is a separate layout with mediawiki ui, i want to convert the other layout formats to output mw-ui elements, too, when UseMediaWikiUIEverywhere is enabled (or later without this config).
Argh, it seems i missed something :) HTMLForm doesn't need a specific support for mediawiki.ui, it already uses HTML and Xml classes. I just thought that it has to, because submit and button doesn't have mw ui. So the task should be to add support for these two specific fields.
Change 211136 had a related patch set uploaded (by Florianschmidtwelzow):
Add support for MediaWiki UI for buttons and submits in HTMLForm
Change 211136 abandoned by Florianschmidtwelzow:
Add support for MediaWiki UI for buttons and submits in HTMLForm
Reason:
see T100161