From 7d33b27f4767c9a4f38acf5ab601fd0bf7d026f2 Mon Sep 17 00:00:00 2001
From: Wil Mahan
Date: Mon, 27 Sep 2004 05:33:17 +0000
Subject: [PATCH] Disable msgnw test because no one cares about msgnw anyway;
add RFC test, more definition lists containing ':' tests
---
maintenance/parserTests.txt | 35 +++++++++++++++++++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)
diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt
index 7c74f6a012..0bf58bc6f7 100644
--- a/maintenance/parserTests.txt
+++ b/maintenance/parserTests.txt
@@ -276,7 +276,27 @@ Definition list with URL link
!! input
; http://example.com/ : definition
!! result
-- http://example.com/
- definition
+
- http://example.com/
- definition
+
+
+!! end
+
+!! test
+Definition list with bracketed URL link
+!! input
+;[http://www.google.com/ Google]:Number one search engine
+!! result
+- Google (http://www.google.com/)
- Number one search engine
+
+
+!! end
+
+!! test
+Definition list with wikilink containing colon
+!! input
+; [[Wikipedia:FAQ]]: The least-read page on Wikipedia
+!! result
+- Wikipedia:FAQ
- The least-read page on Wikipedia
!! end
@@ -902,6 +922,15 @@ Magic links: internal link to RFC
!! end
+!! test
+Magic links: RFC
+!! input
+RFC 822
+!! result
+RFC 822
+
+!! end
+
!! test
Magic links: ISBN
!! input
@@ -1114,9 +1143,11 @@ Template:MSGNW test
{{test}}
!! endarticle
-# hmm, fix this or just disable/deprecate msgnw?
+# hmm, fix this or just deprecate msgnw and document its behavior?
!! test
msgnw keyword
+!! options
+disabled
!! input
{{msgnw:MSGNW test}}
!! result
--
2.20.1