Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\PurgeEntityDataJob Class Reference

Job to purge Special:EntityData URLs from the HTTP cache after a page was deleted. More...

+ Inheritance diagram for Wikibase\Repo\PurgeEntityDataJob:
+ Collaboration diagram for Wikibase\Repo\PurgeEntityDataJob:

Public Member Functions

 __construct (EntityIdParser $entityIdParser, EntityDataUriManager $entityDataUriManager, ILBFactory $lbFactory, HtmlCacheUpdater $htmlCacheUpdater, int $batchSize, array $params)
 
 run ()
 

Static Public Member Functions

static newFromGlobalState (Title $unused, array $params)
 

Private Member Functions

 getArchivedRevisionIds ()
 

Private Attributes

 $entityIdParser
 
 $entityDataUriManager
 
 $lbFactory
 
 $htmlCacheUpdater
 
 $batchSize
 

Detailed Description

Job to purge Special:EntityData URLs from the HTTP cache after a page was deleted.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\PurgeEntityDataJob::__construct ( EntityIdParser  $entityIdParser,
EntityDataUriManager  $entityDataUriManager,
ILBFactory  $lbFactory,
HtmlCacheUpdater  $htmlCacheUpdater,
int  $batchSize,
array  $params 
)

Member Function Documentation

◆ getArchivedRevisionIds()

Wikibase\Repo\PurgeEntityDataJob::getArchivedRevisionIds ( )
private

◆ newFromGlobalState()

static Wikibase\Repo\PurgeEntityDataJob::newFromGlobalState ( Title  $unused,
array  $params 
)
static

◆ run()

Wikibase\Repo\PurgeEntityDataJob::run ( )

Member Data Documentation

◆ $batchSize

Wikibase\Repo\PurgeEntityDataJob::$batchSize
private

◆ $entityDataUriManager

Wikibase\Repo\PurgeEntityDataJob::$entityDataUriManager
private

◆ $entityIdParser

Wikibase\Repo\PurgeEntityDataJob::$entityIdParser
private

◆ $htmlCacheUpdater

Wikibase\Repo\PurgeEntityDataJob::$htmlCacheUpdater
private

◆ $lbFactory

Wikibase\Repo\PurgeEntityDataJob::$lbFactory
private

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