MediaWiki
master
ContentGetParserOutputHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
MediaWiki\Content\Content
;
6
use
MediaWiki\Parser\ParserOptions
;
7
use
MediaWiki\Parser\ParserOutput
;
8
use
MediaWiki\Title\Title
;
9
17
interface
ContentGetParserOutputHook
{
35
public
function
onContentGetParserOutput
( $content, $title, $revId, $options,
36
$generateHtml, &$parserOutput
37
);
38
}
MediaWiki\Parser\ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:60
MediaWiki\Parser\ParserOutput
ParserOutput is a rendering of a Content object or a message.
Definition
ParserOutput.php:93
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\Content\Content
Base interface for representing page content.
Definition
Content.php:39
MediaWiki\Content\Hook\ContentGetParserOutputHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ContentGetParserOutputHook.php:17
MediaWiki\Content\Hook\ContentGetParserOutputHook\onContentGetParserOutput
onContentGetParserOutput( $content, $title, $revId, $options, $generateHtml, &$parserOutput)
Use this hook to customize parser output for a given content object.
MediaWiki\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
includes
content
Hook
ContentGetParserOutputHook.php
Generated on Mon Nov 11 2024 16:33:51 for MediaWiki by
1.10.0