Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Notifications\ChangeNotificationSender Interface Reference

Channel for sending notifications about changes to a repo's clients. More...

+ Inheritance diagram for Wikibase\Repo\Notifications\ChangeNotificationSender:

Public Member Functions

 sendNotification ( $siteID, array $changes)
 Notifies the client wiki of the given changes. More...
 

Detailed Description

Channel for sending notifications about changes to a repo's clients.

Author
Daniel Kinzler

Member Function Documentation

◆ sendNotification()

Wikibase\Repo\Notifications\ChangeNotificationSender::sendNotification (   $siteID,
array  $changes 
)

Notifies the client wiki of the given changes.

Parameters
string$siteIDThe client wiki's global site identifier, as used by sitelinks.
Change[]$changesThe list of changes to post to the wiki.

Implemented in Wikibase\Repo\Notifications\JobQueueChangeNotificationSender.


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