From f61aa1c4a364b3406254c44d8be08081152b6a71 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 20 Sep 2005 20:54:52 +0000 Subject: [PATCH] Add parser test case for nested template calls; this case was broken by Parser.php rev 1.506, since reverted. --- maintenance/parserTests.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index ad1a8b0e29..fa40448c69 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -2717,7 +2717,29 @@ other stuff !! end +# Nested template calls; this case was broken by Parser.php rev 1.506, +# since reverted. +!! article +Template:One-parameter +!! text +(My parameter is: {{{1}}}) +!! endarticle + +!! article +Template:Map-one-parameter +!! text +{{{{{1}}}|{{{2}}}}} +!! endarticle + +!! test +Nested template calls +!! input +{{Map-one-parameter|One-parameter|param}} +!! result +

(My parameter is: param) +

+!! end TODO: more images -- 2.20.1