tableName calls moved inside fieldInfoMulti and removed call that existed only for...
[lhc/web/wiklou.git] / maintenance / parserTestsParserHook.php
index 28ad805..f55cd0e 100644 (file)
@@ -5,23 +5,23 @@ if ( ! defined( 'MEDIAWIKI' ) )
  * A basic extension that's used by the parser tests to test whether input and
  * arguments are passed to extensions properly.
  *
- * @package MediaWiki
- * @subpackage Maintenance
+ * @file
+ * @ingroup Maintenance
  *
  * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
  * @copyright Copyright © 2005, 2006 Ævar Arnfjörð Bjarmason
  * @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 "<pre>\n$ret</pre>";
 }
+