Convert Special:EmailUser to use OOUIHTMLForm
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Fri, 22 Jul 2016 15:41:17 +0000 (17:41 +0200)
committerVolker E <volker.e@wikimedia.org>
Tue, 16 Oct 2018 15:46:35 +0000 (08:46 -0700)
commit2abce6a65de98b62e1adda0bd0fd770ec9a1fe24
treec92df948e569d991fb2e4154b9c45f74251b40ad
parent31c35c9fb605569419595e7dbb4297c347c9af0b
Convert Special:EmailUser to use OOUIHTMLForm

It already used HTMLForm for the main form, but the form, which asked for
the username didn't.

Converted the "Enter username" form to use HTMLForm and show it, if no user-
name was passed to the form, show the main "Send e-mail" form, instead.

Extra points:
 - Let HTMLForm::setSubmit*() function return it's own HTMLForm instance

This basically is a squashed version of these changes:
I6231577047c93781496e0f8af6809e2ef49e662a
I3e0c02155428ae400bc3a6d3ed2e66e69ee441fa

Bug: T117791
Change-Id: If8bf42b2bd092706f2e580083b2400121d35c41c
includes/specials/SpecialEmailuser.php