Steps to replicate the issue
In a form, add a standard input tag with class and style attributes. E.g. {{{standard input|summary|label=A label for testing|class=a-css-class|style="display:none;"}}}
What happens?
The class and style attributes are not included in any HTML element of the form.
OOUI\Element() only accept classes and no style config attribute.
Software version
Product | Version |
---|---|
MediaWiki | 1.35.6 |
PHP | 7.4.27 (fpm-fcgi) |
MariaDB | 10.3.32 |
ICU | 65.1 |
Lua | 5.1.5 |
Extension | Version |
PageForms | 5.4 master (ae078b8) |