From: Brion Vibber Date: Tue, 20 Sep 2005 20:54:52 +0000 (+0000) Subject: Add parser test case for nested template calls; this case was broken by X-Git-Tag: 1.6.0~1592 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=f61aa1c4a364b3406254c44d8be08081152b6a71;p=lhc%2Fweb%2Fwiklou.git Add parser test case for nested template calls; this case was broken by Parser.php rev 1.506, since reverted. --- 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