28 'class' => self::class,
33 PageRevisionUpdatedEvent::TYPE,
39 $this->messageCache = $messageCache;
50 || $event->
hasCause( PageRevisionUpdatedEvent::CAUSE_MOVE )
55 $this->messageCache->updateMessageOverride( $event->
getPage(), $content );
66 $this->messageCache->updateMessageOverride( $event->
getDeletedPage(),
null );
Base class for event ingress objects.
isReconciliationRequest()
Determines whether this is a reconciliation event, triggered artificially in order to give listeners ...
Domain event representing page deletion.
getDeletedPage()
Returns the page that was deleted, as it was before the deletion.
hasCause(string $cause)
Checks whether the update had the given cause.
Cache messages that are defined by MediaWiki-namespace pages or by hooks.
Listener interface for PageDeletedEvents.