MediaWiki
REL1_22
|
Special page allows users to request email confirmation message, and handles processing of the confirmation code when the link in the email is followed. More...
Public Member Functions | |
__construct () | |
attemptConfirm ($code) | |
Attempt to confirm the user's email address and show success or failure as needed; if successful, take the user to log in. | |
execute ($code) | |
Main execution point. | |
showRequestForm () | |
Show a nice form for the user to request a confirmation mail. |
Special page allows users to request email confirmation message, and handles processing of the confirmation code when the link in the email is followed.
Definition at line 32 of file SpecialConfirmemail.php.
Definition at line 33 of file SpecialConfirmemail.php.
EmailConfirmation::attemptConfirm | ( | $ | code | ) |
Attempt to confirm the user's email address and show success or failure as needed; if successful, take the user to log in.
string | $code | Confirmation code |
Definition at line 131 of file SpecialConfirmemail.php.
References $title, $user, SpecialPage\getOutput(), SpecialPage\getTitleFor(), SpecialPage\getUser(), and User\newFromConfirmationCode().
Referenced by execute().
EmailConfirmation::execute | ( | $ | code | ) |
Main execution point.
null | string | $code | Confirmation code passed to the page |
Reimplemented from SpecialPage.
Definition at line 42 of file SpecialConfirmemail.php.
References array(), attemptConfirm(), SpecialPage\checkPermissions(), SpecialPage\checkReadOnly(), SpecialPage\getOutput(), SpecialPage\getTitle(), SpecialPage\getTitleFor(), SpecialPage\getUser(), Linker\linkKnown(), SpecialPage\msg(), SpecialPage\setHeaders(), showRequestForm(), and Sanitizer\validateEmail().
Show a nice form for the user to request a confirmation mail.
Definition at line 80 of file SpecialConfirmemail.php.
References $form, $out, $t, $time, $user, array(), Html\closeElement(), SpecialPage\getLanguage(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getTitle(), SpecialPage\getUser(), Html\hidden(), SpecialPage\msg(), Html\openElement(), Xml\submitButton(), and text.
Referenced by execute().