|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...

Public Member Functions | |
| onEmailUserPermissionsErrors ( $user, $editToken, &$hookErr) | |
| Use this hook to retrieve permissions errors for emailing a user. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "EmailUserPermissionsErrors" to register handlers implementing this interface.
Definition at line 14 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.