28 'class' => self::class,
33 PageLatestRevisionChangedEvent::TYPE,
39 $this->messageCache = $messageCache;
50 || $event->
hasCause( PageLatestRevisionChangedEvent::CAUSE_MOVE )
55 $this->messageCache->updateMessageOverride( $event->
getPage(), $content );
66 $this->messageCache->updateMessageOverride( $event->
getDeletedPage(),
null );
73class_alias( LanguageEventIngress::class,
'MediaWiki\\Languages\\LanguageEventIngress' );
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.
Domain event representing a change to the page's latest revision.
getPage()
Returns the page that was updated.
isModifiedSlot(string $slotRole)
Whether the given slot was modified by the page update.
getLatestRevisionAfter()
The revision that became the latest as a result of the update.
Cache messages that are defined by MediaWiki-namespace pages or by hooks.
Listener interface for PageDeletedEvents.
Listener interface for PageLatestRevisionChangedEvents.