Example on [[ https://en.wikipedia.beta.wmflabs.org/wiki/Special:Import | beta labs ]].
A few tricky bits here:
[x] HTMLForm currently doesn't support the fancy mix of radio buttons, combo boxes and text boxes, as seen in the "new" section of M28. While I could change this to use `hide-if`, that would force an ugly vertical layout; makes it difficult to write good radio button labels; and is also confusing to the user (they can't see the relevant field until they select the option). I'd prefer to keep the current layout, but possibly using a conditional disable instead of conditional hiding.
[x] Also apparently HTMLForm doesn't support two forms on one page (T102114), but HTMLForm is sophisticated enough that I suspect there might be a way around this.
[] How to deal with the file upload on PHP vs JS side?
| Before | After
| -- | --
| {F26634035 width=50%} |