Page MenuHomeWickedGov Phorge

AbuseFilterProtectedVarsAccessLoggerHook.php
No OneTemporary

Size
966 B
Referenced Files
None
Subscribers
None

AbuseFilterProtectedVarsAccessLoggerHook.php

<?php
namespace MediaWiki\Extension\AbuseFilter\Hooks;
use MediaWiki\User\UserIdentity;
interface AbuseFilterProtectedVarsAccessLoggerHook {
/**
* Allows other extensions to hook into the logging mechanism triggered when a
* protected variable is viewed. This allows them access to the parameters and
* the ability to override the logger by aborting additional logging.
*
* This is useful if an extension wants to divert a log to their own logger
* (eg. CheckUser wants to centralize its IP access logs).
*
* @param UserIdentity $performer
* @param string $target
* @param string $action
* @param bool $shouldDebounce
* @param int $timestamp
* @param array $params
* @return bool|void True or no return value to continue or false to abort
*/
public function onAbuseFilterLogProtectedVariableValueAccess(
UserIdentity $performer,
string $target,
string $action,
bool $shouldDebounce,
int $timestamp,
array $params
);
}

File Metadata

Mime Type
text/x-php
Expires
Oct 6 2026, 21:25 (6 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fb/cf/19f95cd132550dfd82897922e67f
Default Alt Text
AbuseFilterProtectedVarsAccessLoggerHook.php (966 B)

Event Timeline