Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Hooks\DeleteDispatcher Class Reference

Hook for dispatching DeleteDispatchNotificationJob on repo which in turn will fetch archived revisions and dispatch deletion jobs on the clients. More...

+ Inheritance diagram for Wikibase\Repo\Hooks\DeleteDispatcher:
+ Collaboration diagram for Wikibase\Repo\Hooks\DeleteDispatcher:

Public Member Functions

 __construct (JobQueueGroup $jobQueueGroup, EntityIdLookup $entityIdLookup, array $localClientDatabases)
 
 onArticleDeleteComplete ( $wikiPage, $user, $reason, $id, $content, $logEntry, $archivedRevisionCount)
 

Static Public Member Functions

static factory (JobQueueGroup $jobQueueGroup, EntityIdLookup $entityIdLookup, SettingsArray $repoSettings)
 

Private Attributes

 $jobQueueGroup
 
 $entityIdLookup
 
 $localClientDatabases
 

Detailed Description

Hook for dispatching DeleteDispatchNotificationJob on repo which in turn will fetch archived revisions and dispatch deletion jobs on the clients.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Hooks\DeleteDispatcher::__construct ( JobQueueGroup  $jobQueueGroup,
EntityIdLookup  $entityIdLookup,
array  $localClientDatabases 
)
Parameters
JobQueueGroup$jobQueueGroup
EntityIdLookup$entityIdLookup
array$localClientDatabases

Member Function Documentation

◆ factory()

static Wikibase\Repo\Hooks\DeleteDispatcher::factory ( JobQueueGroup  $jobQueueGroup,
EntityIdLookup  $entityIdLookup,
SettingsArray  $repoSettings 
)
static

◆ onArticleDeleteComplete()

Wikibase\Repo\Hooks\DeleteDispatcher::onArticleDeleteComplete (   $wikiPage,
  $user,
  $reason,
  $id,
  $content,
  $logEntry,
  $archivedRevisionCount 
)

Member Data Documentation

◆ $entityIdLookup

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

◆ $jobQueueGroup

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

◆ $localClientDatabases

Wikibase\Repo\Hooks\DeleteDispatcher::$localClientDatabases
private

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