22 'class' => self::class,
35 $this->messageCache = $messageCache;
48 $this->messageCache->updateMessageOverride( $event->
getPage(), $content );
Base class for classes that implement DomainEventSubscriber.
Domain event representing a page edit.
getPage()
Returns the page that was edited.
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.