From: Platonides Date: Mon, 31 Oct 2011 22:21:46 +0000 (+0000) Subject: Template as parameter name. X-Git-Tag: 1.31.0-rc.0~26801 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=2903c6b9a9cef47c3a44581fbc202921c67a78dc;p=lhc%2Fweb%2Fwiklou.git Template as parameter name. I had this test pending longtime, as it is failing in NativePreprocessor. --- diff --git a/tests/phpunit/includes/parser/PreprocessorTest.php b/tests/phpunit/includes/parser/PreprocessorTest.php index 121b60bccc..af0ad1018f 100644 --- a/tests/phpunit/includes/parser/PreprocessorTest.php +++ b/tests/phpunit/includes/parser/PreprocessorTest.php @@ -57,6 +57,7 @@ class PreprocessorTest extends MediaWikiTestCase { array( "{{Foo|1=bar}}", "" ), array( "{{Foo|=bar}}", "" ), array( "{{Foo|bar=baz}}", "" ), + array( "{{Foo|{{bar}}=baz}}", "" ), array( "{{Foo|1=bar|baz}}", "" ), array( "{{Foo|1=bar|2=baz}}", "" ), array( "{{Foo|bar|foo=baz}}", "" ),