HTMLForm: Move header formatting OOUI-specific code to OOUIHTMLForm
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 28 Jul 2015 22:08:40 +0000 (00:08 +0200)
committerJforrester <jforrester@wikimedia.org>
Fri, 21 Aug 2015 18:50:02 +0000 (18:50 +0000)
commit0a6803e1e5bfc6940e41751bf79b1997e6db52ec
treefddd70bc17e9d11e09cb47bd05d298b0bf8a9922
parent40abd65b24da7bc47f59b6814db8d3970c28cc1f
HTMLForm: Move header formatting OOUI-specific code to OOUIHTMLForm

* Introduce a getter getHeaderText() and override it in OOUIHTMLForm.
* While we're at it, also introduce getFooterText() (although right
  now we have no need to override this one).
* Use both in HTMLForm where appropriate.

Change-Id: I9a7234ed75b024f24e0a087c9c000bb2024b405f
includes/htmlform/HTMLForm.php
includes/htmlform/OOUIHTMLForm.php