Revert r61251 as r61252 fixes the extension (so thats presumably "Wrong")
authorSam Reed <reedy@users.mediawiki.org>
Tue, 19 Jan 2010 15:32:49 +0000 (15:32 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 19 Jan 2010 15:32:49 +0000 (15:32 +0000)
includes/parser/Parser.php

index 96a49ea..0e2a5f8 100644 (file)
@@ -3341,7 +3341,7 @@ class Parser
                                                        throw new MWException( "Tag hook for $name is not callable\n" );
                                                }
                                                $output = call_user_func_array( $this->mTagHooks[$name],
-                                                       array( $content, $attributes, &$this, $frame ) );
+                                                       array( $content, $attributes, $this, $frame ) );
                                        } elseif( isset( $this->mFunctionTagHooks[$name] ) ) {
                                                list( $callback, $flags ) = $this->mFunctionTagHooks[$name];
                                                if( !is_callable( $callback ) )