MediaWiki REL1_35
MediaWiki\Hook\ParserGetVariableValueTsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\ParserGetVariableValueTsHook:

Public Member Functions

 onParserGetVariableValueTs ( $parser, &$time)
 Use this hook to change the value of the time for the {{LOCAL...}} magic word.
 

Detailed Description

Stable to implement.

Definition at line 11 of file ParserGetVariableValueTsHook.php.

Member Function Documentation

◆ onParserGetVariableValueTs()

MediaWiki\Hook\ParserGetVariableValueTsHook::onParserGetVariableValueTs (   $parser,
$time 
)

Use this hook to change the value of the time for the {{LOCAL...}} magic word.

Since
1.35
Parameters
Parser$parser
string&$timeActual time (timestamp)
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: