From 40928d850929e250fd6cd7dda38cbd5a21fb958b Mon Sep 17 00:00:00 2001 From: Wil Mahan Date: Thu, 23 Sep 2004 06:41:46 +0000 Subject: [PATCH] Add tests for magic variables (using $wgSitename) and nonexistant templates. Tests for existing templates will be a bit more difficult. ;) --- maintenance/parserTests.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 + -- 2.20.1