MediaWiki fundraising/REL1_35
|
Stable to implement. More...
Public Member Functions | |
onEmailUserPermissionsErrors ( $user, $editToken, &$hookErr) | |
Use this hook to retrieve permissions errors for emailing a user. | |
Stable to implement.
Definition at line 11 of file EmailUserPermissionsErrorsHook.php.
MediaWiki\Hook\EmailUserPermissionsErrorsHook::onEmailUserPermissionsErrors | ( | $user, | |
$editToken, | |||
& | $hookErr ) |
Use this hook to retrieve permissions errors for emailing a user.
User | $user | The user who is trying to email another user. |
string | $editToken | The user's edit token. |
bool | string | array | &$hookErr | Out-param for the error. Passed as the parameters to OutputPage::showErrorPage. |
Implemented in MediaWiki\HookContainer\HookRunner.