MediaWiki
REL1_35
RevisionDataUpdatesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Storage\Hook
;
4
5
// phpcs:disable Generic.Files.LineLength -- Remove this after doc review
6
use
DeferrableUpdate
;
7
use
MediaWiki\Revision\RenderedRevision
;
8
use
Title
;
9
14
interface
RevisionDataUpdatesHook
{
28
public
function
onRevisionDataUpdates
(
$title
, $renderedRevision, &$updates );
29
}
MediaWiki\Revision\RenderedRevision
RenderedRevision represents the rendered representation of a revision.
Definition
RenderedRevision.php:43
Title
Represents a title within MediaWiki.
Definition
Title.php:42
DeferrableUpdate
Interface that deferrable updates should implement.
Definition
DeferrableUpdate.php:11
MediaWiki\Storage\Hook\RevisionDataUpdatesHook
Stable to implement.
Definition
RevisionDataUpdatesHook.php:14
MediaWiki\Storage\Hook\RevisionDataUpdatesHook\onRevisionDataUpdates
onRevisionDataUpdates( $title, $renderedRevision, &$updates)
This hook is called when constructing a list of DeferrableUpdate to be executed to record secondary d...
MediaWiki\Storage\Hook
Definition
ArticleEditUpdateNewTalkHook.php:3
$title
$title
Definition
testCompression.php:38
includes
Storage
Hook
RevisionDataUpdatesHook.php
Generated on Sat Apr 6 2024 00:08:02 for MediaWiki by
1.9.8