Add parser test case for a bug 361 case that's still failing
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 22 Apr 2005 12:22:32 +0000 (12:22 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 22 Apr 2005 12:22:32 +0000 (12:22 +0000)
maintenance/parserTests.txt

index 7b6138a..8eac482 100644 (file)
@@ -534,6 +534,15 @@ BUG 361: URL inside bracketed URL
 </p>
 !! end
 
+!! test
+BUG 361: URL within URL, not bracketed
+!! input
+http://www.example.com/foo?=http://www.example.com/bar
+!! result
+<p><a href="http://www.example.com/foo?=http://www.example.com/bar" class='external free' title="http://www.example.com/foo?=http://www.example.com/bar" rel="nofollow">http://www.example.com/foo?=http://www.example.com/bar</a>
+</p>
+!! end
+
 !! test
 BUG 289: ">"-token in URL-tail
 !! input