Extension:Wikibase Client/Hooks/WikibaseHandleChanges

WikibaseHandleChanges
Available from version ???

Define function:
public static function onWikibaseHandleChanges( array $changes, array $rootJobParams ) { ... }
Attach hook:
$wgHooks['WikibaseHandleChanges'][] = 'MyExtensionHooks::onWikibaseHandleChanges';
Called from:File(s): Wikibase Client / includes/Changes/ChangeHandler.php
Function(s): handleChanges

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:WikibaseHandleChanges extensions.

Parameters

edit
  • $change: An array of Wikibase\Lib\Changes\EntityChange instances (Wikibase\Lib\Changes\EntityChange[])
  • $rootJobParams: An array of relevant root job parameters to be inherited by new jobs