MediaWiki  master
WikiPageDeletionUpdatesHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use Content;
7 use WikiPage;
8 
32  public function onWikiPageDeletionUpdates( $page, $content, &$updates );
33 }
Page::Hook\WikiPageDeletionUpdatesHook\onWikiPageDeletionUpdates
onWikiPageDeletionUpdates( $page, $content, &$updates)
Use this hook to manipulate the list of DeferrableUpdates to be applied when a page is deleted.
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:62
Page::Hook\WikiPageDeletionUpdatesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: WikiPageDeletionUpdatesHook.php:17
$content
$content
Definition: router.php:76
Content
Base interface for content objects.
Definition: Content.php:35
DeferrableUpdate
Interface that deferrable updates should implement.
Definition: DeferrableUpdate.php:11
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3