From: Mark A. Hershberger
Date: Mon, 11 Jan 2010 06:17:50 +0000 (+0000)
Subject: Add test for bug where variant was persisting when it shouldn't
X-Git-Tag: 1.31.0-rc.0~38318
X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=69863825ba200888e5322e82f15fe49d17fd5fe9;p=lhc%2Fweb%2Fwiklou.git
Add test for bug where variant was persisting when it shouldn't
---
diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt
index 238abe3f7d..fad5a39c0b 100644
--- a/maintenance/parserTests.txt
+++ b/maintenance/parserTests.txt
@@ -6938,6 +6938,18 @@ Taiwan
!! end
+!! test
+Adding explicit conversion rule for title (T flag)
+!! options
+language=zh variant=zh showtitle
+!! input
+Should be stripped-{T|zh:China;zh-tw:Taiwan}-!
+!! result
+China
+Should be stripped!
+
+!! end
+
!! test
Raw output of variant escape tags (R flag)
!! options
@@ -7514,30 +7526,6 @@ title=[[Main Page]]
#section
!! end
-!! test
-Adding explicit conversion rule for title (T flag)
-!! options
-language=zh variant=zh-tw showtitle **** disabled (for now) because I think it uncovers a bug and I want a reminder
-!! input
-Should be stripped-{T|zh:China;zh-tw:Taiwan}-!
-!! result
-Taiwan
-Should be stripped!
-
-!! end
-
-!! test
-Adding explicit conversion rule for title (T flag)
-!! options
-language=zh variant=zh showtitle **** disabled (for now) because I think it uncovers a bug and I want a reminder
-!! input
-Should be stripped-{T|zh:China;zh-tw:Taiwan}-!
-!! result
-China
-Should be stripped!
-
-!! end
-
TODO:
more images
more tables