From: Platonides Date: Wed, 4 May 2011 14:40:25 +0000 (+0000) Subject: Tag names can't contain template parameters (thanksfully) X-Git-Tag: 1.31.0-rc.0~30413 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27user%27%2C%20userid=session.user.id%29%20%7D%7D?a=commitdiff_plain;h=e849a1f1537da5ed4d540b558995c5e7aada8d89;p=lhc%2Fweb%2Fwiklou.git Tag names can't contain template parameters (thanksfully) --- diff --git a/tests/phpunit/includes/parser/PreprocessorTest.php b/tests/phpunit/includes/parser/PreprocessorTest.php index dd4d4bdc1b..7a5948d4ed 100644 --- a/tests/phpunit/includes/parser/PreprocessorTest.php +++ b/tests/phpunit/includes/parser/PreprocessorTest.php @@ -38,6 +38,8 @@ class PreprocessorTest extends MediaWikiTestCase { array( "\n{{Foo}}\n", "<noinclude>\n\n</noinclude>" ), array( "\n{{Foo}}\n\n", "<noinclude>\n\n</noinclude>\n" ), array( "foo bar", "galleryfoo bar" ), + array( "<{{foo}}>", "<>" ), + array( "<{{{foo}}}>", "<foo>" ), array( "", "gallery</gallery</gallery>" ), array( "=== Foo === ", "=== Foo === " ), array( "=== Foo === ", "==<!-- -->= Foo === " ),