On Mon, May 25, 2015 at 4:55 AM, James Forrester jforrester@wikimedia.org wrote:
To convert your code ...
- $form = HTMLForm::factory( 'ooui', … );
… and everything Should Just Work™.
I mentioned this on the HTMLForm wiki page [1].
I tried converting the Example code from the HTMLForm wiki page, and the result wasn't perfect [2]. Besides awaiting the OOjs UI implementation of HTMLMultiSelectField and HTMLRadioField, presumably developers ought to change design, e.g. not use the 'section' border lines. I want to document how to do the conversion [3].
Excellent stuff.
[1] https://www.mediawiki.org/wiki/HTMLForm [2] https://phabricator.wikimedia.org/F169381 [3] https://phabricator.wikimedia.org/T100401