MediaWiki
REL1_39
BeforeParserFetchTemplateRevisionRecordHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Linker\LinkTarget
;
6
use
MediaWiki\Revision\RevisionRecord
;
7
12
interface
BeforeParserFetchTemplateRevisionRecordHook
{
32
public
function
onBeforeParserFetchTemplateRevisionRecord
(
33
?
LinkTarget
$contextTitle,
LinkTarget
$title
,
34
bool
&$skip, ?
RevisionRecord
&$revRecord
35
);
36
}
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:47
MediaWiki\Hook\BeforeParserFetchTemplateRevisionRecordHook
Definition
BeforeParserFetchTemplateRevisionRecordHook.php:12
MediaWiki\Hook\BeforeParserFetchTemplateRevisionRecordHook\onBeforeParserFetchTemplateRevisionRecord
onBeforeParserFetchTemplateRevisionRecord(?LinkTarget $contextTitle, LinkTarget $title, bool &$skip, ?RevisionRecord &$revRecord)
This hook is called before a template is fetched by Parser.
MediaWiki\Linker\LinkTarget
Definition
LinkTarget.php:26
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$title
$title
Definition
testCompression.php:38
includes
parser
Hook
BeforeParserFetchTemplateRevisionRecordHook.php
Generated on Fri Dec 20 2024 15:34:55 for MediaWiki by
1.10.0