Localisation updates from https://translatewiki.net.
[mediawiki.git] / includes / jobqueue / jobs / Hook / RecentChangesPurgeRowsHook.php
blobb6e256aa9e0d08b8011cdca460b2bf89bf3af87e
1 <?php
3 namespace MediaWiki\Hook;
5 /**
6 * This is a hook handler interface, see docs/Hooks.md.
7 * Use the hook name "RecentChangesPurgeRows" to register handlers implementing this interface.
9 * @stable to implement
10 * @ingroup Hooks
12 interface RecentChangesPurgeRowsHook {
13 /**
14 * This hook is called by RecentChangesUpdateJob when expired recentchanges rows are deleted, after
15 * deleting those rows but within the same database transaction.
17 * @since 1.35
18 * @param \stdClass[] $rows Deleted rows as an array of recentchanges row objects (with up to
19 * $wgUpdateRowsPerQuery items)
20 * @return void This hook must not abort, it must return no value
22 public function onRecentChangesPurgeRows( $rows ): void;