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, ILBFactory $lbFactory, array $params=[]) | |
run () | |
Protected Member Functions | |
modifyChanges (array $relevantChanges) | |
getRelevantRecentChanges () | |
Protected Attributes | |
$lbFactory | |
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. More... | |
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, |
ILBFactory | $lbFactory, | ||
array | $params = [] |
||
) |
string | $jobName | Name of this job. |
ILBFactory | $lbFactory | |
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\ChangeVisibilityNotificationJob, and Wikibase\Client\ChangeModification\ChangeDeletionNotificationJob.
|
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 |