MediaWiki REL1_35
MediaWiki\Hook\ParserBeforePreprocessHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\ParserBeforePreprocessHook:

Public Member Functions

 onParserBeforePreprocess ( $parser, &$text, $stripState)
 Called at the beginning of Parser::preprocess()
 

Detailed Description

Stable to implement.

Definition at line 12 of file ParserBeforePreprocessHook.php.

Member Function Documentation

◆ onParserBeforePreprocess()

MediaWiki\Hook\ParserBeforePreprocessHook::onParserBeforePreprocess (   $parser,
$text,
  $stripState 
)

Called at the beginning of Parser::preprocess()

Since
1.35
Parameters
Parser$parserParser object
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: