From: Brion Vibber Date: Tue, 31 Oct 2006 14:55:46 +0000 (+0000) Subject: add tests for {{#special:}} X-Git-Tag: 1.31.0-rc.0~55339 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=e8849a403f046d0d356c37ff18ff29453aeea47d;p=lhc%2Fweb%2Fwiklou.git add tests for {{#special:}} --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 8026c83602..6328269ccc 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -2826,6 +2826,25 @@ msg Foo !! end +!! test +{{#special:}} page name, known +!! options +msg +!! input +{{#special:Recentchanges}} +!! result +Special:Recentchanges +!! end + +!! test +{{#special:}} page name, unknown +!! options +msg +!! input +{{#special:foobarnonexistent}} +!! result +No such special page +!! end ### ### Images