MediaWiki  master
ParserFetchTemplateHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Parser;
6 use Revision;
7 use Title;
8 
27  public function onParserFetchTemplate( $parser, $title, $rev, &$text, &$deps );
28 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\ParserFetchTemplateHook
Definition: ParserFetchTemplateHook.php:13
Revision
Definition: Revision.php:40
$title
$title
Definition: testCompression.php:38
MediaWiki\Hook\ParserFetchTemplateHook\onParserFetchTemplate
onParserFetchTemplate( $parser, $title, $rev, &$text, &$deps)
This hook is called when the parser fetches a template.
Parser
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition: Parser.php:84
Title
Represents a title within MediaWiki.
Definition: Title.php:41