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: http://git.cyclocoop.org/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?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}}", "" ),