|
MediaWiki
REL1_22
|
Let users recover their password. More...


Public Member Functions | |
| __construct () | |
| 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 248 of file SpecialChangePassword.php.
References $abortMsg, $user, array(), LoginForm\clearLoginThrottle(), SpecialPage\getLanguage(), SpecialPage\getUser(), global, LoginForm\incLoginThrottle(), SpecialPage\msg(), User\newFromName(), params, text, and wfRunHooks().
Referenced by execute().
| SpecialChangePassword::error | ( | $ | msg | ) |
| $msg | string |
Definition at line 131 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 $query, $user, array(), attemptReset(), SpecialPage\checkPermissions(), SpecialPage\checkReadOnly(), error(), SpecialPage\getContext(), LoginForm\getLoginToken(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getUser(), global, SpecialPage\msg(), Title\newFromText(), Title\newMainPage(), 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 310 of file SpecialChangePassword.php.
| SpecialChangePassword::pretty | ( | $ | fields | ) |
| $fields | array |
Definition at line 209 of file SpecialChangePassword.php.
References $attribs, $name, $out, $value, array(), as, Html\input(), label, list, SpecialPage\msg(), User\passwordChangeInputAttribs(), and text.
Referenced by showForm().
Definition at line 135 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.