MediaWiki
REL1_37
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
17
interface
ContentGetParserOutputHook
{
35
public
function
onContentGetParserOutput
(
$content
,
$title
, $revId, $options,
36
$generateHtml, &$output
37
);
38
}
ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:45
ParserOutput
Definition
ParserOutput.php:31
Title
Represents a title within MediaWiki.
Definition
Title.php:48
Content
Base interface for content objects.
Definition
Content.php:35
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, &$output)
Use this hook to customize parser output for a given content object.
MediaWiki\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
$content
$content
Definition
router.php:76
$title
$title
Definition
testCompression.php:38
includes
content
Hook
ContentGetParserOutputHook.php
Generated on Fri Apr 5 2024 23:40:08 for MediaWiki by
1.9.8