Add linkprefix test to parserTests.txt.
authorC. Scott Ananian <cscott@cscott.net>
Thu, 25 Apr 2013 18:35:47 +0000 (14:35 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Thu, 25 Apr 2013 18:42:04 +0000 (14:42 -0400)
This example is taken from is:Finnland.

Change-Id: I730e0a1e16d0f1283db3da90d3ab9c039355eb3f

tests/parser/parserTests.txt

index bf25182..0631196 100644 (file)
@@ -4257,6 +4257,23 @@ language=kaa
 </p>
 !! end
 
+!! article
+Söfnuður
+!! text
+Test.
+!! endarticle
+
+!! test
+Internal link with is linkprefix
+!! options
+language=is
+!! input
+Aðrir mótmælenda[[söfnuður|söfnuðir]] og
+!! result
+<p>Aðrir <a href="/wiki/S%C3%B6fnu%C3%B0ur" title="Söfnuður">mótmælendasöfnuðir</a> og
+</p>
+!! end
+
 !! test
 Parsoid-centric test: Whitespace in ext- and wiki-links should be preserved
 !! input