Manual:Hooks/ParserGetVariableValueTs
From MediaWiki.org
| ParserGetVariableValueTs | |
|---|---|
| Available from version 1.6.0 use this to change the value of the time for the {{LOCAL...}} magic word |
|
*Define function: |
function fnMyHook( &$parser, &$time ) { ... }
|
*Attach hook: |
$wgHooks['ParserGetVariableValueTs'][] = 'fnMyHook'; |
| Called from: | Parser.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:ParserGetVariableValueTs extensions.
[edit] Details
- &$parser: Parser object
- &$time: actual time (timestamp)