MediaWiki
REL1_19
|
Let users recover their password. More...
Public Member Functions | |
__construct () | |
doReturnTo () | |
error ($msg) | |
execute ($par) | |
Main execution point. | |
pretty ($fields) | |
showForm () | |
Protected Member Functions | |
attemptReset ($newpass, $retype) |
Let users recover their password.
Definition at line 29 of file SpecialChangePassword.php.
Definition at line 30 of file SpecialChangePassword.php.
SpecialChangePassword::attemptReset | ( | $ | newpass, |
$ | retype | ||
) | [protected] |
PasswordError | when cannot set the new password because requirements not met. |
Definition at line 225 of file SpecialChangePassword.php.
References $user, LoginForm\clearLoginThrottle(), LoginForm\incLoginThrottle(), SpecialPage\msg(), User\newFromName(), and wfRunHooks().
Referenced by execute().
Definition at line 116 of file SpecialChangePassword.php.
References SpecialPage\getOutput(), SpecialPage\getRequest(), Title\newFromText(), and Title\newMainPage().
Referenced by execute().
SpecialChangePassword::error | ( | $ | msg | ) |
Definition at line 124 of file SpecialChangePassword.php.
References Xml\element(), and SpecialPage\getOutput().
Referenced by execute().
SpecialChangePassword::execute | ( | $ | par | ) |
Main execution point.
Reimplemented from SpecialPage.
Definition at line 37 of file SpecialChangePassword.php.
References $user, $wgAuth, attemptReset(), SpecialPage\checkReadOnly(), doReturnTo(), error(), SpecialPage\getContext(), LoginForm\getLoginToken(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getUser(), SpecialPage\msg(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), LoginForm\setLoginToken(), and showForm().
SpecialChangePassword::pretty | ( | $ | fields | ) |
Definition at line 190 of file SpecialChangePassword.php.
References $out, Html\input(), Xml\label(), SpecialPage\msg(), and User\passwordChangeInputAttribs().
Referenced by showForm().
Definition at line 128 of file SpecialChangePassword.php.
References $user, $wgCookieExpiration, Xml\checkLabel(), Xml\closeElement(), Xml\fieldset(), LoginForm\getLoginToken(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getTitle(), SpecialPage\getUser(), Html\hidden(), SpecialPage\msg(), Xml\openElement(), pretty(), and Xml\submitButton().
Referenced by execute().