MediaWiki master
MediaWiki\RecentChanges\Hook\MarkPatrolledAuditHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onMarkPatrolledAudit (RecentChange $recentChange, UserIdentity $userIdentity, int $logId)
 This hook is called after an edit is marked patrolled.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "MarkPatrolledAudit" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file MarkPatrolledAuditHook.php.

Member Function Documentation

◆ onMarkPatrolledAudit()

MediaWiki\RecentChanges\Hook\MarkPatrolledAuditHook::onMarkPatrolledAudit ( RecentChange $recentChange,
UserIdentity $userIdentity,
int $logId )

This hook is called after an edit is marked patrolled.

This hook is for auditing of patrolling only. Use the MarkPatrolledHook hook to abort the patrol or customise the tags applied to the patrol log entry.

Since
1.47
Parameters
RecentChange$recentChangeThe RecentChange object associated with the edit that was patrolled
UserIdentity$userIdentityUser who marked the edit patrolled
int$logIdThe log ID for the patrolled edit

The documentation for this interface was generated from the following file: