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:
24eb7fb
)
unbreak template parametrization
author
Erik Moeller
<erik@users.mediawiki.org>
Mon, 31 May 2004 21:50:12 +0000
(21:50 +0000)
committer
Erik Moeller
<erik@users.mediawiki.org>
Mon, 31 May 2004 21:50:12 +0000
(21:50 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
2dc092b
..
0368d25
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-1231,7
+1231,7
@@
class Parser
$text = preg_replace_callback( "/(\\n?){{{([$titleChars]*?)}}}/", "wfArgSubstitution", $text );
}
# Template substitution
- $regex = "/(\\n?){{([$nonBraceChars]*)(\\|*?|)}}/s";
+ $regex = "/(\\n?){{([$nonBraceChars]*)(\\|
.
*?|)}}/s";
$text = preg_replace_callback( $regex, "wfBraceSubstitution", $text );
array_pop( $this->mArgStack );