MediaWiki
REL1_39
ContentAlterParserOutputHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
Content
;
6
use
ParserOutput
;
7
use
Title
;
8
16
interface
ContentAlterParserOutputHook
{
30
public
function
onContentAlterParserOutput
(
$content
,
$title
, $parserOutput );
31
}
ParserOutput
Definition
ParserOutput.php:38
Title
Represents a title within MediaWiki.
Definition
Title.php:49
Content
Base interface for content objects.
Definition
Content.php:35
MediaWiki\Content\Hook\ContentAlterParserOutputHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ContentAlterParserOutputHook.php:16
MediaWiki\Content\Hook\ContentAlterParserOutputHook\onContentAlterParserOutput
onContentAlterParserOutput( $content, $title, $parserOutput)
Use this hook to modify 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
ContentAlterParserOutputHook.php
Generated on Fri Dec 13 2024 04:22:45 for MediaWiki by
1.10.0