MediaWiki master
MediaWiki\Hook\RecentChangesPurgeRowsHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onRecentChangesPurgeRows ( $rows)
 This hook is called by RecentChangesUpdateJob when expired recentchanges rows are deleted, after deleting those rows but within the same database transaction.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 12 of file RecentChangesPurgeRowsHook.php.

Member Function Documentation

◆ onRecentChangesPurgeRows()

MediaWiki\Hook\RecentChangesPurgeRowsHook::onRecentChangesPurgeRows (   $rows)

This hook is called by RecentChangesUpdateJob when expired recentchanges rows are deleted, after deleting those rows but within the same database transaction.

Since
1.35
Parameters
\\stdClass[]$rowsDeleted rows as an array of recentchanges row objects (with up to $wgUpdateRowsPerQuery items)
Returns
void This hook must not abort, it must return no value

Implemented in MediaWiki\HookContainer\HookRunner.


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