MediaWiki
REL1_35
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
13
interface
ParserFetchTemplateHook
{
27
public
function
onParserFetchTemplate
( $parser,
$title
, $rev, &$text, &$deps );
28
}
Parser
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition
Parser.php:85
Revision
Definition
Revision.php:40
Title
Represents a title within MediaWiki.
Definition
Title.php:42
MediaWiki\Hook\ParserFetchTemplateHook
Definition
ParserFetchTemplateHook.php:13
MediaWiki\Hook\ParserFetchTemplateHook\onParserFetchTemplate
onParserFetchTemplate( $parser, $title, $rev, &$text, &$deps)
This hook is called when the parser fetches a template.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$title
$title
Definition
testCompression.php:38
includes
parser
Hook
ParserFetchTemplateHook.php
Generated on Sat Apr 6 2024 00:07:36 for MediaWiki by
1.9.8