Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Hooks\EntityDataPurger Class Reference
+ Inheritance diagram for Wikibase\Repo\Hooks\EntityDataPurger:
+ Collaboration diagram for Wikibase\Repo\Hooks\EntityDataPurger:

Public Member Functions

 __construct (EntityIdLookup $entityIdLookup, EntityDataUriManager $entityDataUriManager, HtmlCacheUpdater $htmlCacheUpdater, JobQueueGroup $jobQueueGroup)
 
 onArticleRevisionVisibilitySet ( $title, $ids, $visibilityChangeMap)
 
 onArticleDeleteComplete ( $wikiPage, $user, $reason, $id, $content, $logEntry, $archivedRevisionCount)
 

Static Public Member Functions

static factory (HtmlCacheUpdater $htmlCacheUpdater, JobQueueGroup $jobQueueGroup, EntityDataUriManager $entityDataUriManager, EntityIdLookup $entityIdLookup)
 

Private Attributes

 $entityIdLookup
 
 $entityDataUriManager
 
 $htmlCacheUpdater
 
 $jobQueueGroup
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Hooks\EntityDataPurger::__construct ( EntityIdLookup  $entityIdLookup,
EntityDataUriManager  $entityDataUriManager,
HtmlCacheUpdater  $htmlCacheUpdater,
JobQueueGroup  $jobQueueGroup 
)

Member Function Documentation

◆ factory()

static Wikibase\Repo\Hooks\EntityDataPurger::factory ( HtmlCacheUpdater  $htmlCacheUpdater,
JobQueueGroup  $jobQueueGroup,
EntityDataUriManager  $entityDataUriManager,
EntityIdLookup  $entityIdLookup 
)
static

◆ onArticleDeleteComplete()

Wikibase\Repo\Hooks\EntityDataPurger::onArticleDeleteComplete (   $wikiPage,
  $user,
  $reason,
  $id,
  $content,
  $logEntry,
  $archivedRevisionCount 
)
Parameters
\WikiPage$wikiPage
\User$user
string$reason
int$id
\Content | null$content
\ManualLogEntry$logEntry
int$archivedRevisionCount
Returns
bool|void

◆ onArticleRevisionVisibilitySet()

Wikibase\Repo\Hooks\EntityDataPurger::onArticleRevisionVisibilitySet (   $title,
  $ids,
  $visibilityChangeMap 
)
Parameters
Title$title
int[]$ids
int[][]$visibilityChangeMap

Member Data Documentation

◆ $entityDataUriManager

Wikibase\Repo\Hooks\EntityDataPurger::$entityDataUriManager
private

◆ $entityIdLookup

Wikibase\Repo\Hooks\EntityDataPurger::$entityIdLookup
private

◆ $htmlCacheUpdater

Wikibase\Repo\Hooks\EntityDataPurger::$htmlCacheUpdater
private

◆ $jobQueueGroup

Wikibase\Repo\Hooks\EntityDataPurger::$jobQueueGroup
private

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