HTMLTextField: Pass extra parameters in OOUI mode
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 12 Sep 2018 20:09:47 +0000 (22:09 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 12 Sep 2018 20:15:48 +0000 (22:15 +0200)
commit938e9402a7a66e6946db1faa30481c6fa1dcc696
tree6d6677f297f8130decb25f467df0af2e1b53f5fc
parentef7be3e36afe1aca1bece181e95f7d8b47760dee
HTMLTextField: Pass extra parameters in OOUI mode

Some additional parameters that are passed through as attributes in
HTML mode were not being passed through as config options in OOUI mode:
* 'min'
* 'max'
* 'step'
* 'title'

Some have no equivalent in OOUI:
* 'pattern'
* 'list'
* 'multiple'

Also note that we support some OOUI config options that have no
equivalent in HTML:
* 'autosize'
* 'flags'
* 'indicator'

I originally noticed the problem with the 'min' and 'max' params,
which are clearly missing in OOUI preferences for RC and watchlist.
I don't know if anything anywhere actually uses the other ones.

Bug: T181844
Change-Id: I2d22ef3b08b7f0b4283b644d80bd74906177d089
includes/htmlform/fields/HTMLTextField.php