From cd18b85daac66326176e4fa725b33bd2d6b73afd Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Mon, 31 May 2004 21:50:12 +0000 Subject: [PATCH] unbreak template parametrization --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 2dc092b478..0368d25c81 100644 --- 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 ); -- 2.20.1