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:
f43c452
)
extra $this parameter for parser extension functions
author
Tim Starling
<tstarling@users.mediawiki.org>
Mon, 1 Aug 2005 16:15:38 +0000
(16:15 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Mon, 1 Aug 2005 16:15:38 +0000
(16:15 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
f7d32f5
..
46e0bb5
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-428,7
+428,7
@@
class Parser
$full_tag = $ext_tags[$tag][$marker];
$params = $ext_params[$tag][$marker];
if ( $render ) {
- $ext_content[$tag][$marker] = $callback( $content, $params );
+ $ext_content[$tag][$marker] = $callback( $content, $params
, $this
);
} else {
$ext_content[$tag][$marker] = "$full_tag$content</$tag>";
}