Extension:Wikibase Client/Hooks/WikibaseHandleChange

WikibaseHandleChange
Available from version ???

Define function:
public static function onWikibaseHandleChange( Wikibase\Lib\Changes\EntityChange $change, array $rootJobParams ) { ... }
Attach hook:
$wgHooks['WikibaseHandleChange'][] = 'MyExtensionHooks::onWikibaseHandleChange';
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:WikibaseHandleChange extensions.

Parameters

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