MediaWiki
REL1_19
|
Let users change their email address. More...
Public Member Functions | |
__construct () | |
execute ($par) | |
Main execution point. | |
isListed () | |
Whether this special page is listed in Special:SpecialPages. | |
Protected Member Functions | |
attemptChange (User $user, $pass, $newaddr) | |
doReturnTo ($type= 'hard') | |
error ($msg) | |
pretty ($fields) | |
showForm () |
Let users change their email address.
Definition at line 29 of file SpecialChangeEmail.php.
Definition at line 30 of file SpecialChangeEmail.php.
SpecialChangeEmail::attemptChange | ( | User $ | user, |
$ | pass, | ||
$ | newaddr | ||
) | [protected] |
Definition at line 178 of file SpecialChangeEmail.php.
References $pass, User\checkPassword(), User\checkTemporaryPassword(), LoginForm\clearLoginThrottle(), error(), User\getName(), SpecialPage\getOutput(), LoginForm\incLoginThrottle(), User\saveSettings(), Preferences\trySetUserEmail(), and Sanitizer\validateEmail().
Referenced by execute().
SpecialChangeEmail::doReturnTo | ( | $ | type = 'hard' | ) | [protected] |
Definition at line 93 of file SpecialChangeEmail.php.
References SpecialPage\getOutput(), SpecialPage\getRequest(), Title\newFromText(), and Title\newMainPage().
Referenced by execute().
SpecialChangeEmail::error | ( | $ | msg | ) | [protected] |
Definition at line 105 of file SpecialChangeEmail.php.
References SpecialPage\getOutput().
Referenced by attemptChange(), and execute().
SpecialChangeEmail::execute | ( | $ | par | ) |
Main execution point.
Reimplemented from SpecialPage.
Definition at line 42 of file SpecialChangeEmail.php.
References $out, $user, $wgAuth, attemptChange(), SpecialPage\checkReadOnly(), doReturnTo(), error(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getUser(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), and showForm().
Whether this special page is listed in Special:SpecialPages.
Reimplemented from UnlistedSpecialPage.
Definition at line 34 of file SpecialChangeEmail.php.
References $wgAuth.
SpecialChangeEmail::pretty | ( | $ | fields | ) | [protected] |
Definition at line 146 of file SpecialChangeEmail.php.
References $out, Html\input(), Xml\label(), and SpecialPage\msg().
Referenced by showForm().
SpecialChangeEmail::showForm | ( | ) | [protected] |
Definition at line 109 of file SpecialChangeEmail.php.
References $user, Xml\closeElement(), Xml\fieldset(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getTitle(), SpecialPage\getUser(), Html\hidden(), SpecialPage\msg(), Xml\openElement(), pretty(), and Xml\submitButton().
Referenced by execute().