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 (callable $jobQueueGroupFactory, EntityIdLookup $entityIdLookup, array $localClientDatabases)
 
 onArticleDeleteComplete ( $wikiPage, $user, $reason, $id, $content, $logEntry, $archivedRevisionCount)
 

Static Public Member Functions

static factory (EntityIdLookup $entityIdLookup, SettingsArray $repoSettings)
 

Private Attributes

 $jobQueueGroupFactory
 
 $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 ( callable  $jobQueueGroupFactory,
EntityIdLookup  $entityIdLookup,
array  $localClientDatabases 
)
Parameters
callable$jobQueueGroupFactory
EntityIdLookup$entityIdLookup
array$localClientDatabases

Member Function Documentation

◆ factory()

static Wikibase\Repo\Hooks\DeleteDispatcher::factory ( 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

◆ $jobQueueGroupFactory

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

◆ $localClientDatabases

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

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