MediaWiki
REL1_41
WikiPageDeletionUpdatesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
Content
;
6
use
DeferrableUpdate
;
7
use
WikiPage
;
8
17
interface
WikiPageDeletionUpdatesHook
{
32
public
function
onWikiPageDeletionUpdates
( $page,
$content
, &$updates );
33
}
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:77
Content
Base interface for representing page content.
Definition
Content.php:39
DeferrableUpdate
Interface that deferrable updates should implement.
Definition
DeferrableUpdate.php:11
MediaWiki\Page\Hook\WikiPageDeletionUpdatesHook
This is a hook handler interface, see docs/Hooks.md.
Definition
WikiPageDeletionUpdatesHook.php:17
MediaWiki\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.
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
$content
$content
Definition
router.php:76
includes
page
Hook
WikiPageDeletionUpdatesHook.php
Generated on Wed Nov 27 2024 07:24:10 for MediaWiki by
1.10.0