From: Antoine Musso
Date: Thu, 14 Feb 2013 21:13:35 +0000 (+0100)
Subject: (bug 20281) test the parsing of inline URLs.
X-Git-Tag: 1.31.0-rc.0~20601
X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=f5da154341332b75f7c262b68ead656f3f218334;p=lhc%2Fweb%2Fwiklou.git
(bug 20281) test the parsing of inline URLs.
It turns out we did not have a parser test to check we properly parse
inline URL such as:
http://en.wikipedia.org/wiki/Main_Page
That should create a basic anchor pointing to the URL and containing the
full URL.
Change-Id: I1d1240b21e7b1b7c79d0ba224c8de2767bf9a2c1
X-EasterEgg: yes
---
diff --git a/RELEASE-NOTES-1.21 b/RELEASE-NOTES-1.21
index 8fccf3b4b0..59199db967 100644
--- a/RELEASE-NOTES-1.21
+++ b/RELEASE-NOTES-1.21
@@ -101,6 +101,7 @@ production.
tables. To be marked up as such.
* maintenance/sql.php learned the --cluster option. Let you run the script
on some external cluster instead of the primary cluster for a given wiki.
+* (bug 20281) test the parsing of inline URLs.
=== Bug fixes in 1.21 ===
* (bug 40353) SpecialDoubleRedirect should support interwiki redirects.
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 1f84aaed75..df8b9e2b9b 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -162,6 +162,16 @@ baz
!! end
+!! test
+Parsing an URL
+!! input
+http://fr.wikipedia.org/wiki/ðº
+
+!! result
+http://fr.wikipedia.org/wiki/ðº
+
+!! end
+
!! test
Simple list
!! input