Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Hooks\WikibaseHandleChangesHook Interface Reference

This is a hook handler interface, see docs/Hooks.md in MediaWiki core. More...

+ Inheritance diagram for Wikibase\Client\Hooks\WikibaseHandleChangesHook:

Public Member Functions

 onWikibaseHandleChanges (array $changes, array $rootJobParams=[])
 Called by () ChangeHandler::handleChanges() to allow pre-processing of changes.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md in MediaWiki core.

Use the hook name "WikibaseHandleChanges" to register handlers implementing this interface.

Member Function Documentation

◆ onWikibaseHandleChanges()

Wikibase\Client\Hooks\WikibaseHandleChangesHook::onWikibaseHandleChanges ( array $changes,
array $rootJobParams = [] )

Called by () ChangeHandler::handleChanges() to allow pre-processing of changes.

Parameters
EntityChange[]$changesA list of Change objects.
array$rootJobParamsAny relevant root job parameters to be inherited by child jobs.
Returns
bool|void

Implemented in Wikibase\Client\Hooks\WikibaseClientHookRunner.


The documentation for this interface was generated from the following file: