MediaWiki REL1_37
MediaWiki\Hook\ParserBeforeInternalParseHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\ParserBeforeInternalParseHook:

Public Member Functions

 onParserBeforeInternalParse ( $parser, &$text, $stripState)
 This hook is called at the beginning of Parser::internalParse().
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file ParserBeforeInternalParseHook.php.

Member Function Documentation

◆ onParserBeforeInternalParse()

MediaWiki\Hook\ParserBeforeInternalParseHook::onParserBeforeInternalParse (   $parser,
$text,
  $stripState 
)

This hook is called at the beginning of Parser::internalParse().

Since
1.35
Parameters
Parser$parser
string&$textText to parse
StripState$stripStateStripState instance being 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: