MediaWiki REL1_40
MediaWiki\Hook\ParserAfterParseHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onParserAfterParse ( $parser, &$text, $stripState)
 This hook is called from Parser::parse() just after the call to Parser::internalParse() returns.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ParserAfterParse" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file ParserAfterParseHook.php.

Member Function Documentation

◆ onParserAfterParse()

MediaWiki\Hook\ParserAfterParseHook::onParserAfterParse ( $parser,
& $text,
$stripState )

This hook is called from Parser::parse() just after the call to Parser::internalParse() returns.

Since
1.35
Parameters
Parser$parser
string&$textText being parsed
StripState$stripStateStripState used
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: