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

Nasty hack to inject information from RC into the change notification saved earlier by the onRevisionFromEditComplete hook handler. More...

Public Member Functions

 __construct (EntityChangeLookup $changeLookup, ChangeStore $changeStore, ?CentralIdLookup $centralIdLookup)
 
 onRecentChange_save (RecentChange $recentChange)
 

Static Public Member Functions

static factory (CentralIdLookupFactory $centralIdLookupFactory, Store $store)
 

Private Member Functions

 setChangeMetaData (EntityChange $change, RecentChange $rc, int $centralUserId)
 

Private Attributes

 $changeLookup
 
 $changeStore
 
 $centralIdLookup
 

Detailed Description

Nasty hack to inject information from RC into the change notification saved earlier by the onRevisionFromEditComplete hook handler.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Hooks\RecentChangeSaveHookHandler::__construct ( EntityChangeLookup  $changeLookup,
ChangeStore  $changeStore,
?CentralIdLookup  $centralIdLookup 
)

Member Function Documentation

◆ factory()

static Wikibase\Repo\Hooks\RecentChangeSaveHookHandler::factory ( CentralIdLookupFactory  $centralIdLookupFactory,
Store  $store 
)
static

◆ onRecentChange_save()

Wikibase\Repo\Hooks\RecentChangeSaveHookHandler::onRecentChange_save ( RecentChange  $recentChange)

◆ setChangeMetaData()

Wikibase\Repo\Hooks\RecentChangeSaveHookHandler::setChangeMetaData ( EntityChange  $change,
RecentChange  $rc,
int  $centralUserId 
)
private

Member Data Documentation

◆ $centralIdLookup

Wikibase\Repo\Hooks\RecentChangeSaveHookHandler::$centralIdLookup
private

◆ $changeLookup

Wikibase\Repo\Hooks\RecentChangeSaveHookHandler::$changeLookup
private

◆ $changeStore

Wikibase\Repo\Hooks\RecentChangeSaveHookHandler::$changeStore
private

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