From cb98a3d07e030b98a3f6ba6a221550d377510461 Mon Sep 17 00:00:00 2001
From: Wil Mahan
[1] (http://www.unausa.org/newindex.asp?place=http://www.unausa.org/programs/mun.asp) +
+!! end + ### ### Quotes ### @@ -689,6 +697,16 @@ Piped link to namespace !! end +!! test +Link containing } +!! input +[[Usually caused by a typo (oops}]] +!! result +[[Usually caused by a typo (oops}]] +
+!! end + + !! test Plain link to URL !! input @@ -869,8 +887,9 @@ ISBN 0-306-40615-2 !! end ### -### Nonexistant template -### +### Templates +#### + !! test Nonexistant template !! input @@ -880,9 +899,6 @@ Nonexistant template !! end -### -### Templates -#### !! article Template:test !! text @@ -1001,6 +1017,60 @@ Template infinite loop !! end +!! article +Template:table +!! text +{| +| 1 || 2 +|- +| 3 || 4 +|} +!! endarticle + +!! test +BUG 529: Template with table, not included at beginning of line +!! input +foo {{table}} +!! result +foo +
+1 | 2 + |
3 | 4 + |
foo +
+1 | 2 + |
3 | 4 + |
{{{parameter}}} +
+!! end + ### ### Pre-save transform tests ### @@ -1168,6 +1238,17 @@ Disabled subpages !! end +!! test +BUG 561: {{/Subpage}} +!! options +title=[[Page]] +!! input +{{/Subpage}} +!! result + +!! end + ### ### Categories ### @@ -1211,6 +1292,87 @@ ill es:Alimento fr:Nourriture zh:é£å !! end +### +### Sections +### +!! test +Basic section headings +!! input +== Headline 1 == +Some text + +==Headline 2== +More +===Smaller headline=== +Blah blah +!! result +Some text +
+More +
+Blah blah +
+!! end + +!! test +Section headings with TOC +!! input +== Headline 1 == +=== Subheadline 1 === +===== Skipping a level ===== +====== Skipping a level ====== + +== Headline 2 == +Some text +===Another headline=== +!! result ++Table of contents |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
Some text +
+