Merge "Fix help link on Special:PasswordPolicies"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 29 May 2018 02:05:30 +0000 (02:05 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 29 May 2018 02:05:30 +0000 (02:05 +0000)
tests/parser/parserTests.txt

index bffc56e..216d7e5 100644 (file)
@@ -62,6 +62,12 @@ Template:Foo
 FOO
 !!endarticle
 
+!! article
+Template:redirect to foo
+!! text
+#REDIRECT [[Template:Foo]]
+!! endarticle
+
 !! article
 Template:Blank
 !! text
@@ -1861,6 +1867,17 @@ maxtemplatedepth=1
 </p>
 !! end
 
+!! test
+multiple templates that are redirects
+!! wikitext
+{{redirect to foo}}
+{{redirect to foo}}
+!! html
+<p>FOO
+FOO
+</p>
+!! end
+
 !! test
 Multiple comments should still parse as SOL-transparent
 !! options