MediaWiki REL1_39
MediaWiki\Hook\RecentChangesPurgeRowsHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\RecentChangesPurgeRowsHook:

Public Member Functions

 onRecentChangesPurgeRows ( $rows)
 This hook is called when old recentchanges rows are purged, after deleting those rows but within the same 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 when old recentchanges rows are purged, after deleting those rows but within the same transaction.

Since
1.35
Parameters
\\stdClass[]$rowsDeleted rows as an array of recentchanges row objects (with up to $wgUpdateRowsPerQuery items)
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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