Extension:Wikibase Client/Hooks/WikibaseHandleChange
(Redirected from Manual: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 ofWikibase\Lib\Changes\EntityChange
$rootJobParams
: Anarray
of relevant root job parameters to be inherited by new jobs