diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-05-16 20:58:53 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-05-16 20:58:53 +0000 |
commit | cecb985bee3bdd252e1b8dc0bd500b37cd52be01 (patch) | |
tree | 17266aa237742640aabee7856f0202317a45d540 /includes/SpecialResetpass.php | |
parent | 0bac06c301f2a83edb0236e4c2434da16848d549 (diff) |
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert
kleine Korrekturen am Design
Diffstat (limited to 'includes/SpecialResetpass.php')
-rw-r--r-- | includes/SpecialResetpass.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/includes/SpecialResetpass.php b/includes/SpecialResetpass.php index cde582b1..dc1e53c4 100644 --- a/includes/SpecialResetpass.php +++ b/includes/SpecialResetpass.php @@ -1,10 +1,15 @@ <?php +/** Constructor */ function wfSpecialResetpass( $par ) { $form = new PasswordResetForm(); $form->execute( $par ); } +/** + * Let users recover their password. + * @addtogroup SpecialPage + */ class PasswordResetForm extends SpecialPage { function __construct( $name=null, $reset=null ) { if( $name !== null ) { @@ -68,7 +73,7 @@ class PasswordResetForm extends SpecialPage { } function showForm() { - global $wgOut, $wgUser, $wgLang, $wgRequest; + global $wgOut, $wgUser, $wgRequest; $self = SpecialPage::getTitleFor( 'Resetpass' ); $form = @@ -134,7 +139,7 @@ class PasswordResetForm extends SpecialPage { } /** - * @throws PasswordError + * @throws PasswordError when cannot set the new password because requirements not met. */ function attemptReset( $newpass, $retype ) { $user = User::newFromName( $this->mName ); |