Wikibase
MediaWiki Wikibase extension
Wikibase\Client\ChangeModification\ChangeDeletionNotificationJob Class Reference

Job for notifying a client wiki of a batch of revision deletions on the repository. More...

+ Inheritance diagram for Wikibase\Client\ChangeModification\ChangeDeletionNotificationJob:
+ Collaboration diagram for Wikibase\Client\ChangeModification\ChangeDeletionNotificationJob:

Public Member Functions

 __construct (ILBFactory $lbFactory, int $batchSize, array $params=[])
 Constructs a ChangeDeletionNotificationJob for the repo revisions given. More...
 
- Public Member Functions inherited from Wikibase\Client\ChangeModification\ChangeModificationNotificationJob
 __construct (string $jobName, ILBFactory $lbFactory, array $params=[])
 
 run ()
 

Static Public Member Functions

static newFromGlobalState (Title $unused, array $params)
 

Protected Member Functions

 modifyChanges (array $relevantChanges)
 
- Protected Member Functions inherited from Wikibase\Client\ChangeModification\ChangeModificationNotificationJob
 getRelevantRecentChanges ()
 

Private Attributes

 $batchSize
 

Additional Inherited Members

- Protected Attributes inherited from Wikibase\Client\ChangeModification\ChangeModificationNotificationJob
 $lbFactory
 

Detailed Description

Job for notifying a client wiki of a batch of revision deletions on the repository.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\ChangeModification\ChangeDeletionNotificationJob::__construct ( ILBFactory  $lbFactory,
int  $batchSize,
array  $params = [] 
)

Constructs a ChangeDeletionNotificationJob for the repo revisions given.

Parameters
ILBFactory$lbFactory
int$batchSize
array$paramsContains the name of the repo, revisionIdentifiersJson to redact

Member Function Documentation

◆ modifyChanges()

Wikibase\Client\ChangeModification\ChangeDeletionNotificationJob::modifyChanges ( array  $relevantChanges)
protected
Parameters
int[]$relevantChanges

Reimplemented from Wikibase\Client\ChangeModification\ChangeModificationNotificationJob.

◆ newFromGlobalState()

static Wikibase\Client\ChangeModification\ChangeDeletionNotificationJob::newFromGlobalState ( Title  $unused,
array  $params 
)
static
Parameters
Title$unused
array$params
Returns
ChangeDeletionNotificationJob

Member Data Documentation

◆ $batchSize

Wikibase\Client\ChangeModification\ChangeDeletionNotificationJob::$batchSize
private

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