dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eb65c7
)
Pass parser by reference on line 3344 for bug 22154 extension broken
author
Sam Reed
<reedy@users.mediawiki.org>
Tue, 19 Jan 2010 15:23:59 +0000
(15:23 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Tue, 19 Jan 2010 15:23:59 +0000
(15:23 +0000)
(line 3351 passes by reference
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
0e2a5f8
..
96a49ea
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-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 ) )