MediaWiki
master
ContentAlterParserOutputHook.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\ParserOutput
;
7
use
MediaWiki\Title\Title
;
8
16
interface
ContentAlterParserOutputHook
{
30
public
function
onContentAlterParserOutput
( $content, $title, $parserOutput );
31
}
MediaWiki\Parser\ParserOutput
ParserOutput is a rendering of a Content object or a message.
Definition
ParserOutput.php:97
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\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
includes
content
Hook
ContentAlterParserOutputHook.php
Generated on Wed Oct 9 2024 15:23:14 for MediaWiki by
1.10.0