* Totally refactor includes/specials/SpecialUserlogin.php:
authorHappy-melon <happy-melon@users.mediawiki.org>
Mon, 7 Sep 2009 19:00:49 +0000 (19:00 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Mon, 7 Sep 2009 19:00:49 +0000 (19:00 +0000)
commitfca012212f1dceac4dda6baa62216a7194f66887
treef00b864690eb0c5536c1b4c93de0da92fca1c29a
parent43c69819290801aeedeaee0a3c35a38c7fe458a6
* Totally refactor includes/specials/SpecialUserlogin.php:
** Split backend stuff out into includes/Login.php
** Split account creation and login stuff up, into includes/specials/CreateAccount.php and includes/specials/Userlogin.php.
* Reimplement the special pages as subclasses of SpecialPage
* Use HTMLForm to generate the input forms
** Deprecate and delete includes/templates/Userlogin.php, which is horrible and old :D

This changes the syntax of the UserLoginForm and UserCreateForm hooks, and AuthPlugin::modifyUITemplate; they now receive the SpecialPage subclass rather than the template to work with. Update everything I could find in SVN to accommodate this.
14 files changed:
RELEASE-NOTES
docs/hooks.txt
includes/AuthPlugin.php
includes/AutoLoader.php
includes/Login.php [new file with mode: 0644]
includes/SpecialPage.php
includes/api/ApiLogin.php
includes/specials/SpecialCreateAccount.php [new file with mode: 0644]
includes/specials/SpecialResetpass.php
includes/specials/SpecialUserlogin.php
includes/templates/Userlogin.php [deleted file]
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
skins/common/shared.css