MediaWiki  master
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 
31  public function onSecondaryDataUpdates( $title, $oldContent, $recursive,
32  $parserOutput, &$updates
33  );
34 }
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.
ParserOutput
Definition: ParserOutput.php:25
MediaWiki\Content\Hook\SecondaryDataUpdatesHook
Definition: SecondaryDataUpdatesHook.php:15
DataUpdate
Abstract base class for update jobs that do something with some secondary data extracted from article...
Definition: DataUpdate.php:30
MediaWiki\Content\Hook
Definition: ContentAlterParserOutputHook.php:3
$title
$title
Definition: testCompression.php:38
Content
Base interface for content objects.
Definition: Content.php:35
Title
Represents a title within MediaWiki.
Definition: Title.php:41