Base class for repo jobs that dispatch client change modification notification jobs to all client wikis.
More...
Base class for repo jobs that dispatch client change modification notification jobs to all client wikis.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::__construct |
( |
string |
$jobName, |
|
|
Title |
$title, |
|
|
array |
$params |
|
) |
| |
◆ dispatchChangeModificationNotificationJobs()
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::dispatchChangeModificationNotificationJobs |
( |
array |
$jobSpecifications | ) |
|
|
private |
- Parameters
-
IJobSpecification[] | $jobSpecifications | |
◆ getChangeModificationNotificationJobs()
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::getChangeModificationNotificationJobs |
( |
EntityId |
$entityId | ) |
|
|
abstractprotected |
◆ initFromGlobalState()
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::initFromGlobalState |
( |
MediaWikiServices |
$mwServices | ) |
|
|
protected |
◆ initServices()
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::initServices |
( |
EntityIdLookup |
$entityIdLookup, |
|
|
LoggerInterface |
$logger, |
|
|
callable |
$jobGroupFactory |
|
) |
| |
- Parameters
-
EntityIdLookup | $entityIdLookup | |
LoggerInterface | $logger | |
callable | $jobGroupFactory | |
◆ revisionIdentifiersToJson()
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::revisionIdentifiersToJson |
( |
array |
$revisionIdentifiers | ) |
|
|
protected |
- Parameters
-
RepoRevisionIdentifier[] | $revisionIdentifiers | |
- Returns
- string JSON
◆ run()
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::run |
( |
| ) |
|
◆ $clientRCMaxAge
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::$clientRCMaxAge |
|
protected |
◆ $entityIdLookup
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::$entityIdLookup |
|
private |
◆ $jobGroupFactory
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::$jobGroupFactory |
|
private |
◆ $localClientDatabases
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::$localClientDatabases |
|
private |
◆ $logger
Wikibase\Repo\ChangeModification\DispatchChangeModificationNotificationJob::$logger |
|
protected |
The documentation for this class was generated from the following file: