HTMLForm: add errors to html in ooui variants
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Fri, 21 Apr 2017 12:50:53 +0000 (14:50 +0200)
committerTheDJ <hartman.wiki@gmail.com>
Fri, 21 Apr 2017 13:58:02 +0000 (13:58 +0000)
commit31886054895d729b92e22b5cb4e2b952ec22272d
treec90967f66c92cc0dbce3c05ff45bd8f8b96ffb16
parent4b7b4919dae3b594af368daba75f0a208ff68737
HTMLForm: add errors to html in ooui variants

HTMLForm when using OOUI mode was not adding errors to the resulting
HTML, if depending on message arrays, as previously used before
Status.

This exposed additional problems. Aligned the function a bit closer to
HTMLForm's getErrorsOrWarnings()

Bug: T158492
Change-Id: I8765a025dd441676e35a7c183c67b37036643c1e
includes/htmlform/OOUIHTMLForm.php