MediaWiki
REL1_37
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
Class representing a MediaWiki article and history.
Definition
WikiPage.php:60
Content
Base interface for content objects.
Definition
Content.php:35
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 Fri Apr 5 2024 23:40:38 for MediaWiki by
1.9.8