MediaWiki master
WikiPageDeletionUpdatesHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use Content;
7use WikiPage;
8
32 public function onWikiPageDeletionUpdates( $page, $content, &$updates );
33}
Base representation for an editable wiki page.
Definition WikiPage.php:79
Base interface for representing page content.
Definition Content.php:37
Interface that deferrable updates should implement.
This is a hook handler interface, see docs/Hooks.md.
onWikiPageDeletionUpdates( $page, $content, &$updates)
Use this hook to manipulate the list of DeferrableUpdates to be applied when a page is deleted.