MediaWiki  master
ContentGetParserOutputHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Content\Hook;
4 
5 use Content;
6 use ParserOptions;
7 use ParserOutput;
8 use Title;
9 
32  public function onContentGetParserOutput( $content, $title, $revId, $options,
33  $generateHtml, &$output
34  );
35 }
ParserOptions
Set options of the Parser.
Definition: ParserOptions.php:44
ParserOutput
Definition: ParserOutput.php:25
MediaWiki\Content\Hook
Definition: ContentAlterParserOutputHook.php:3
MediaWiki\Content\Hook\ContentGetParserOutputHook
Stable to implement.
Definition: ContentGetParserOutputHook.php:14
MediaWiki\Content\Hook\ContentGetParserOutputHook\onContentGetParserOutput
onContentGetParserOutput( $content, $title, $revId, $options, $generateHtml, &$output)
Use this hook to customize parser output for a given content object.
$title
$title
Definition: testCompression.php:38
$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:41