Wikibase
MediaWiki Wikibase extension
|
Base class for Jobs handling modifications to a set of client changes (identified by RepoRevisionIdentifiers). More...
Public Member Functions | |
__construct (string $jobName, ClientDomainDb $clientDb, array $params=[]) | |
run () | |
Protected Member Functions | |
modifyChanges (array $relevantChanges) | |
getRelevantRecentChanges () | |
Protected Attributes | |
$clientDb | |
Private Member Functions | |
unpackRevisionIdentifiers (string $revisionIdentifiersJson) | |
selectCandidateResults (string $entityIdSerialization, array $revisionIdentifiers) | |
filterCandidateResults (IResultWrapper $candidateResults, array $revisionIdentifiers) | |
getGroupedRepoRevisionIdentifiers () | |
readRecentChangeParams ( $rc_params) | |
Extracts the metadata array from the value of an rc_params field. | |
Private Attributes | |
$revisionIdentifiers | |
Base class for Jobs handling modifications to a set of client changes (identified by RepoRevisionIdentifiers).
Wikibase\Client\ChangeModification\ChangeModificationNotificationJob::__construct | ( | string | $jobName, |
ClientDomainDb | $clientDb, | ||
array | $params = [] ) |
string | $jobName | Name of this job. |
ClientDomainDb | $clientDb | |
array | $params | Contains the revisionIdentifiersJson to act upon. |
|
private |
IResultWrapper | $candidateResults | |
RepoRevisionIdentifier[] | $revisionIdentifiers |
|
private |
|
protected |
|
abstractprotected |
int[] | $relevantChanges | Ids of changes relevant for this job. |
Reimplemented in Wikibase\Client\ChangeModification\ChangeDeletionNotificationJob, and Wikibase\Client\ChangeModification\ChangeVisibilityNotificationJob.
|
private |
Extracts the metadata array from the value of an rc_params field.
array | string | $rc_params |
Wikibase\Client\ChangeModification\ChangeModificationNotificationJob::run | ( | ) |
|
private |
string | $entityIdSerialization | |
RepoRevisionIdentifier[] | $revisionIdentifiers |
|
private |
string | $revisionIdentifiersJson |
|
protected |
|
private |