MediaWiki
master
ParserGetVariableValueSwitchHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Parser\Parser
;
6
use
MediaWiki\Parser\PPFrame
;
7
15
interface
ParserGetVariableValueSwitchHook
{
32
public
function
onParserGetVariableValueSwitch
( $parser, &$variableCache,
33
$magicWordId, &$ret, $frame
34
);
35
}
MediaWiki\Parser\Parser
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition
Parser.php:145
MediaWiki\Hook\ParserGetVariableValueSwitchHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ParserGetVariableValueSwitchHook.php:15
MediaWiki\Hook\ParserGetVariableValueSwitchHook\onParserGetVariableValueSwitch
onParserGetVariableValueSwitch( $parser, &$variableCache, $magicWordId, &$ret, $frame)
This hook is called when the parser needs the value of a custom magic word.
MediaWiki\Parser\PPFrame
Definition
PPFrame.php:32
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
parser
Hook
ParserGetVariableValueSwitchHook.php
Generated on Tue Jan 21 2025 09:25:13 for MediaWiki by
1.10.0