Hygiene: Make construction of buttons easier
authorjdlrobson <jdlrobson@gmail.com>
Mon, 29 Sep 2014 23:45:45 +0000 (16:45 -0700)
committerjdlrobson <jdlrobson@gmail.com>
Tue, 30 Sep 2014 21:54:56 +0000 (14:54 -0700)
commita155ac55ea0854b0989efe23158d33b5a548f14e
tree86a23f1ba9bde3a1b731bdadd35c05033afee23f
parent39347539796a214dbeb12e843ab4b134703bd55f
Hygiene: Make construction of buttons easier

Stop littering MediaWiki with globals, provide a common
api for generating them similar to how we do text input
attributes before things get out of control.

Adds
* submitButton
* linkButton

Change-Id: I61bb3c358f755ed9f2153d94b744c1a9da02c456
includes/EditPage.php
includes/Html.php
includes/Preferences.php
includes/actions/HistoryAction.php
includes/specials/SpecialBooksources.php
includes/specials/SpecialCategories.php
includes/specials/SpecialContributions.php
includes/specials/SpecialSearch.php
includes/templates/Usercreate.php
includes/templates/Userlogin.php