MediaWiki
master
ParserBeforePreprocessHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Parser\Hook
;
4
5
use
MediaWiki\Parser\Parser
;
6
use
MediaWiki\Parser\StripState
;
7
15
interface
ParserBeforePreprocessHook
{
26
public
function
onParserBeforePreprocess
( $parser, &$text, $stripState );
27
}
28
30
class_alias( ParserBeforePreprocessHook::class,
'MediaWiki\\Hook\\ParserBeforePreprocessHook'
);
MediaWiki\Parser\Parser
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition
Parser.php:134
MediaWiki\Parser\StripState
Definition
StripState.php:21
MediaWiki\Parser\Hook\ParserBeforePreprocessHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ParserBeforePreprocessHook.php:15
MediaWiki\Parser\Hook\ParserBeforePreprocessHook\onParserBeforePreprocess
onParserBeforePreprocess( $parser, &$text, $stripState)
Called at the beginning of Parser::preprocess()
MediaWiki\Parser\Hook
Definition
AfterParserFetchFileAndTitleHook.php:3
includes
Parser
Hook
ParserBeforePreprocessHook.php
Generated on Fri Mar 13 2026 00:26:25 for MediaWiki by
1.10.0