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
: Anarray
ofWikibase\Lib\Changes\EntityChange
instances (Wikibase\Lib\Changes\EntityChange[]
)$rootJobParams
: Anarray
of relevant root job parameters to be inherited by new jobs