MediaWiki
REL1_35
SecondaryDataUpdatesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
Content
;
6
use
DataUpdate
;
7
use
ParserOutput
;
8
use
Title
;
9
15
interface
SecondaryDataUpdatesHook
{
31
public
function
onSecondaryDataUpdates
(
$title
, $oldContent, $recursive,
32
$parserOutput, &$updates
33
);
34
}
DataUpdate
Abstract base class for update jobs that do something with some secondary data extracted from article...
Definition
DataUpdate.php:30
ParserOutput
Definition
ParserOutput.php:27
Title
Represents a title within MediaWiki.
Definition
Title.php:42
Content
Base interface for content objects.
Definition
Content.php:35
MediaWiki\Content\Hook\SecondaryDataUpdatesHook
Definition
SecondaryDataUpdatesHook.php:15
MediaWiki\Content\Hook\SecondaryDataUpdatesHook\onSecondaryDataUpdates
onSecondaryDataUpdates( $title, $oldContent, $recursive, $parserOutput, &$updates)
Use this hook to modify the list of DataUpdates to perform when page content is modified.
MediaWiki\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
$title
$title
Definition
testCompression.php:38
includes
content
Hook
SecondaryDataUpdatesHook.php
Generated on Sat Apr 6 2024 00:07:02 for MediaWiki by
1.9.8