Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5960236
EmailUserPermissionsErrorsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
868 B
Referenced Files
None
Subscribers
None
EmailUserPermissionsErrorsHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "EmailUserPermissionsErrors" to register handlers implementing this interface.
*
* @ingroup Hooks
* @deprecated since 1.41 Handle the EmailUserAuthorizeSend hook instead.
*/
interface
EmailUserPermissionsErrorsHook
{
/**
* Use this hook to retrieve permissions errors for emailing a user.
*
* @since 1.35
*
* @param User $user The user who is trying to email another user.
* @param string $editToken The user's edit token.
* @param bool|string|array &$hookErr Out-param for the error. Passed as the parameters to
* OutputPage::showErrorPage.
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onEmailUserPermissionsErrors
(
$user
,
$editToken
,
&
$hookErr
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 07:09 (2 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c7/1f/135fe2e79b32d6452ce6851dda9b
Default Alt Text
EmailUserPermissionsErrorsHook.php (868 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment