MediaWiki
REL1_35
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
14
interface
WikiPageDeletionUpdatesHook
{
29
public
function
onWikiPageDeletionUpdates
( $page,
$content
, &$updates );
30
}
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
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
Definition
WikiPageDeletionUpdatesHook.php:14
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 Sat Apr 6 2024 00:07:34 for MediaWiki by
1.9.8