OOUIHTMLForm: Display errors in a nicer way, part 1
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 28 Jul 2015 21:53:49 +0000 (23:53 +0200)
committerJforrester <jforrester@wikimedia.org>
Fri, 21 Aug 2015 18:29:06 +0000 (18:29 +0000)
commit4ea3974e0c1a59c59d344026ee236bf104364f6c
treeadd06baea9e32db0129ac3f6665378101da8a79b
parent79ae8460480a40c536eaa03ac2d2d0f5a4f979ea
OOUIHTMLForm: Display errors in a nicer way, part 1

Depends on Ie14a35fac70d62ff7d102caaa56654ebde11d7dd in OOUI.

Part 2 follows after some cleanup in intermediary commits
in Ifbf38878d41906184f97169b22002f788711a311.

As a bonus, HTMLFormField::getOOUI() now always produces a
OOUI\FieldLayout in OOUI mode. This will let us clean up some code
where we had to take errors HTML from HTMLForm
(I91af6efa8762e9676efea532381292e221255862).

Bug: T98894
Change-Id: I860a96858c4fcac62d63b46e35a9153f22c0a9c9
includes/htmlform/HTMLFormField.php
includes/htmlform/OOUIHTMLForm.php