28 'class' => self::class,
33 PageLatestRevisionChangedEvent::TYPE,
39 $this->messageCache = $messageCache;
51 || $event->isReconciliationRequest()
55 $this->messageCache->updateMessageOverride( $event->
getPage(), $content );
66 $this->messageCache->updateMessageOverride( $event->
getDeletedPage(),
null );
73class_alias( LanguageEventIngress::class,
'MediaWiki\\Languages\\LanguageEventIngress' );
if(!defined('MW_SETUP_CALLBACK'))
Base class for event ingress objects.
Domain event representing page deletion.
getDeletedPage()
Returns the page that was deleted, as it was before the deletion.
Domain event representing a change to the page's latest revision.
getPage()
Returns the page that was updated.
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.