22 'class' => self::class,
27 PageUpdatedEvent::TYPE
32 $this->messageCache = $messageCache;
43 || $event->
hasCause( PageUpdatedEvent::CAUSE_MOVE ) )
46 $this->messageCache->updateMessageOverride( $event->
getPage(), $content );
Base class for classes that implement DomainEventSubscriber.
getPage()
Returns the page that was edited.
hasCause(string $cause)
Checks whether the update had the given cause.
Domain event representing a page edit.
isModifiedSlot(string $slotRole)
Whether the given slot was modified by the edit.
getNewRevision()
The revision that became the current one because of the edit.
Cache messages that are defined by MediaWiki-namespace pages or by hooks.