From: Ævar Arnfjörð Bjarmason Date: Mon, 27 Feb 2006 04:04:44 +0000 (+0000) Subject: * Renamed functions to make more sense X-Git-Tag: 1.6.0~265 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=4a2c5f55716239d53cf6cd68d36ed4a058adf0d8;p=lhc%2Fweb%2Fwiklou.git * Renamed functions to make more sense * added ?> to the file --- diff --git a/maintenance/parserTestsParserHook.php b/maintenance/parserTestsParserHook.php index 28ad8057a1..65e41aaee6 100644 --- a/maintenance/parserTestsParserHook.php +++ b/maintenance/parserTestsParserHook.php @@ -13,15 +13,15 @@ if ( ! defined( 'MEDIAWIKI' ) ) * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later */ -$wgHooks['ParserTestParser'][] = 'wfParserTestSetup'; +$wgHooks['ParserTestParser'][] = 'wfParserTestParserHookSetup'; -function wfParserTestSetup( &$parser ) { - $parser->setHook( 'tag', 'wfParserTestHook' ); +function wfParserTestParserHookSetup( &$parser ) { + $parser->setHook( 'tag', 'wfParserTestParserHookHook' ); return true; } -function wfParserTestHook( $in, $argv ) { +function wfParserTestParserHookHook( $in, $argv ) { ob_start(); var_dump( $in, @@ -31,3 +31,4 @@ function wfParserTestHook( $in, $argv ) { return "
\n$ret
"; } +?>