From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz
Date: Mon, 12 Aug 2013 09:28:15 +0200
Subject: Update to MediaWiki 1.21.1
---
extensions/ParserFunctions/funcsParserTests.txt | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
(limited to 'extensions/ParserFunctions/funcsParserTests.txt')
diff --git a/extensions/ParserFunctions/funcsParserTests.txt b/extensions/ParserFunctions/funcsParserTests.txt
index a741836a..2ff7ba3d 100644
--- a/extensions/ParserFunctions/funcsParserTests.txt
+++ b/extensions/ParserFunctions/funcsParserTests.txt
@@ -93,6 +93,15 @@ Explicitely specified output language (Dutch)
!! end
+!! test
+Preserve tags in #switch default value
+!! input
+{{#switch:a|b|c
}}
+!! result
+c
+
+!! end
+
!! test
Bug 19093: Default values don't fall through in switch
!! input
@@ -211,3 +220,15 @@ Bug 22866: #ifexpr should evaluate "-0" as false
false
!! end
+
+!! test
+Templates: Parser functions don't strip whitespace from positional parameters
+!! input
+{{#if: {{foo}}
+| no-pre-then
+| no-pre-else
+}}
+!! result
+no-pre-then
+
+!! end
--
cgit v1.2.3-54-g00ecf