MediaWiki REL1_35
MediaWiki\Hook\BeforeParserFetchTemplateAndtitleHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\BeforeParserFetchTemplateAndtitleHook:

Public Member Functions

 onBeforeParserFetchTemplateAndtitle ( $parser, $title, &$skip, &$id)
 This hook is called before a template is fetched by Parser.
 

Detailed Description

Stable to implement.

Definition at line 12 of file BeforeParserFetchTemplateAndtitleHook.php.

Member Function Documentation

◆ onBeforeParserFetchTemplateAndtitle()

MediaWiki\Hook\BeforeParserFetchTemplateAndtitleHook::onBeforeParserFetchTemplateAndtitle (   $parser,
  $title,
$skip,
$id 
)

This hook is called before a template is fetched by Parser.

Since
1.35
Parameters
Parser$parser
Title$titleTitle of the template
bool&$skipSkip this template and link it?
int&$idID of the revision being parsed
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: