From f5da154341332b75f7c262b68ead656f3f218334 Mon Sep 17 00:00:00 2001
From: Antoine Musso
Date: Thu, 14 Feb 2013 22:13:35 +0100
Subject: [PATCH] (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
---
RELEASE-NOTES-1.21 | 1 +
tests/parser/parserTests.txt | 10 ++++++++++
2 files changed, 11 insertions(+)
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
--
2.20.1