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:
2affc9e
)
Fix for bug 13677
author
Ryan Schmidt
<skizzerz@users.mediawiki.org>
Sat, 10 May 2008 18:31:05 +0000
(18:31 +0000)
committer
Ryan Schmidt
<skizzerz@users.mediawiki.org>
Sat, 10 May 2008 18:31:05 +0000
(18:31 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
8f77ecf
..
9a73ee7
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-2835,7
+2835,9
@@
class Parser
}
$result = call_user_func_array( $callback, $allArgs );
$found = true;
-
+ $noparse = true;
+ $preprocessFlags = 0;
+
if ( is_array( $result ) ) {
if ( isset( $result[0] ) ) {
$text = $result[0];
@@
-2848,6
+2850,10
@@
class Parser
} else {
$text = $result;
}
+ if ( !$noparse ) {
+ $text = $this->preprocessToDom( $text, $preprocessFlags );
+ $isChildObj = true;
+ }
}
}
wfProfileOut( __METHOD__ . '-pfunc' );