maintenance/parserTestsParserTime.php File Reference

A basic extension that's used by the parser tests to test date magic words. More...

Go to the source code of this file.

Functions

 wfParserTimeSetup (&$parser, &$ts)

Variables

 $wgHooks ['ParserGetVariableValueTs'][] = 'wfParserTimeSetup'


Detailed Description

A basic extension that's used by the parser tests to test date magic words.

Handy so that we don't have to upgrade the parsertests every second to compensate with the passage of time and certainly less expensive than a time-freezing device, get yours now!

Author:
Ævar Arnfjörð Bjarmason <avarab@gmail.com> Copyright © 2005, 2006 Ævar Arnfjörð Bjarmason http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later

Definition in file parserTestsParserTime.php.


Function Documentation

wfParserTimeSetup ( &$  parser,
&$  ts 
)

Definition at line 21 of file parserTestsParserTime.php.

References $ts.


Variable Documentation

$wgHooks['ParserGetVariableValueTs'][] = 'wfParserTimeSetup'

Definition at line 19 of file parserTestsParserTime.php.


Generated on Sat Sep 5 02:08:27 2009 for MediaWiki by  doxygen 1.5.9