MediaWiki  master
ContentAlterParserOutputHook.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use Content;
6 use ParserOutput;
7 use Title;
8 
30  public function onContentAlterParserOutput( $content, $title, $parserOutput );
31 }
ParserOutput
Definition: ParserOutput.php:36
MediaWiki\Content\Hook
Definition: ContentAlterParserOutputHook.php:3
$title
$title
Definition: testCompression.php:38
MediaWiki\Content\Hook\ContentAlterParserOutputHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ContentAlterParserOutputHook.php:16
$content
$content
Definition: router.php:76
Content
Base interface for content objects.
Definition: Content.php:35
Title
Represents a title within MediaWiki.
Definition: Title.php:47
MediaWiki\Content\Hook\ContentAlterParserOutputHook\onContentAlterParserOutput
onContentAlterParserOutput( $content, $title, $parserOutput)
Use this hook to modify parser output for a given content object.