MediaWiki
REL1_39
PermissionErrorAuditHook.php
Go to the documentation of this file.
1
<?php
2
namespace
MediaWiki\Permissions\Hook
;
3
4
use
MediaWiki\Linker\LinkTarget
;
5
use
MediaWiki\User\UserIdentity
;
6
14
interface
PermissionErrorAuditHook
{
28
public
function
onPermissionErrorAudit
(
29
LinkTarget
$title
,
30
UserIdentity
$user,
31
string
$action,
32
string
$rigor,
33
array $errors
34
): void;
35
}
MediaWiki\Linker\LinkTarget
Definition
LinkTarget.php:26
MediaWiki\Permissions\Hook\PermissionErrorAuditHook
This is a hook handler interface, see docs/Hooks.md Use the hook name "PermissionErrorAudit" to regis...
Definition
PermissionErrorAuditHook.php:14
MediaWiki\Permissions\Hook\PermissionErrorAuditHook\onPermissionErrorAudit
onPermissionErrorAudit(LinkTarget $title, UserIdentity $user, string $action, string $rigor, array $errors)
This hook is called from PermissionManager::getPermissionErrorsInternal() to collect internal permiss...
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Permissions\Hook
Definition
GetUserPermissionsErrorsExpensiveHook.php:3
$title
$title
Definition
testCompression.php:38
includes
Permissions
Hook
PermissionErrorAuditHook.php
Generated on Mon Dec 16 2024 06:35:57 for MediaWiki by
1.10.0