MediaWiki
REL1_21
|
Let users recover their password. More...
Public Member Functions | |
__construct () | |
doReturnTo () | |
error ($msg) | |
execute ($par) | |
Main execution point. | |
pretty ($fields) | |
showForm () | |
Public Attributes | |
$mDomain | |
$mNewpass | |
$mOldpass | |
$mRetype | |
Protected Member Functions | |
attemptReset ($newpass, $retype) | |
getGroupName () | |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'. | |
Protected Attributes | |
$mUserName |
Let users recover their password.
Definition at line 29 of file SpecialChangePassword.php.
Definition at line 33 of file SpecialChangePassword.php.
SpecialChangePassword::attemptReset | ( | $ | newpass, |
$ | retype | ||
) | [protected] |
PasswordError | when cannot set the new password because requirements not met. |
Definition at line 240 of file SpecialChangePassword.php.
References $abortMsg, $user, array(), LoginForm\clearLoginThrottle(), SpecialPage\getUser(), LoginForm\incLoginThrottle(), SpecialPage\msg(), User\newFromName(), text, and wfRunHooks().
Referenced by execute().
Definition at line 114 of file SpecialChangePassword.php.
References $query, SpecialPage\getOutput(), SpecialPage\getRequest(), Title\newFromText(), and Title\newMainPage().
Referenced by execute().
SpecialChangePassword::error | ( | $ | msg | ) |
$msg | string |
Definition at line 127 of file SpecialChangePassword.php.
References array(), Xml\element(), and SpecialPage\getOutput().
Referenced by execute().
SpecialChangePassword::execute | ( | $ | par | ) |
Main execution point.
Reimplemented from SpecialPage.
Definition at line 40 of file SpecialChangePassword.php.
References $user, array(), attemptReset(), SpecialPage\checkReadOnly(), doReturnTo(), error(), SpecialPage\getContext(), LoginForm\getLoginToken(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getUser(), global, SpecialPage\msg(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), LoginForm\setLoginToken(), showForm(), and text.
SpecialChangePassword::getGroupName | ( | ) | [protected] |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
Reimplemented from SpecialPage.
Definition at line 296 of file SpecialChangePassword.php.
SpecialChangePassword::pretty | ( | $ | fields | ) |
$fields | array |
Definition at line 205 of file SpecialChangePassword.php.
References $attribs, $name, $out, $value, array(), as, Html\input(), Xml\label(), list, SpecialPage\msg(), User\passwordChangeInputAttribs(), and text.
Referenced by showForm().
Definition at line 131 of file SpecialChangePassword.php.
References $user, array(), as, Xml\checkLabel(), Xml\closeElement(), Xml\fieldset(), LoginForm\getLoginToken(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getTitle(), SpecialPage\getUser(), global, Html\hidden(), SpecialPage\msg(), Xml\openElement(), pretty(), Xml\submitButton(), text, and wfRunHooks().
Referenced by execute().
SpecialChangePassword::$mDomain |
Definition at line 31 of file SpecialChangePassword.php.
SpecialChangePassword::$mNewpass |
Definition at line 31 of file SpecialChangePassword.php.
SpecialChangePassword::$mOldpass |
Definition at line 31 of file SpecialChangePassword.php.
SpecialChangePassword::$mRetype |
Definition at line 31 of file SpecialChangePassword.php.
SpecialChangePassword::$mUserName [protected] |
Definition at line 31 of file SpecialChangePassword.php.