MediaWiki master
PermissionErrorAuditHook.php
Go to the documentation of this file.
1<?php
3
6
28 public function onPermissionErrorAudit(
29 LinkTarget $title,
30 UserIdentity $user,
31 string $action,
32 string $rigor,
33 array $errors
34 ): void;
35}
Represents the target of a wiki link.
This is a hook handler interface, see docs/Hooks.md Use the hook name "PermissionErrorAudit" to regis...
onPermissionErrorAudit(LinkTarget $title, UserIdentity $user, string $action, string $rigor, array $errors)
This hook is called from PermissionManager::getPermissionErrorsInternal() to collect internal permiss...
Interface for objects representing user identity.