From: Wil Mahan Date: Thu, 23 Sep 2004 06:41:46 +0000 (+0000) Subject: Add tests for magic variables (using $wgSitename) and nonexistant templates. X-Git-Tag: 1.5.0alpha1~1856 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=40928d850929e250fd6cd7dda38cbd5a21fb958b;p=lhc%2Fweb%2Fwiklou.git Add tests for magic variables (using $wgSitename) and nonexistant templates. Tests for existing templates will be a bit more difficult. ;) --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 411d905824..a7b9b222b6 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -594,3 +594,27 @@ Mixed list !! end +### +### Magic variables +### +!! test +Magic variables +!! input +{{SITENAME}} +!! result +

MediaWiki +

+!! end + +### +### Nonexistant template +### +!! test +Nonexistant template +!! input +{{thistemplatedoesnotexist}} +!! result +

Template:Thistemplatedoesnotexist +

+!! end +