From: Mark A. Hershberger
Date: Fri, 5 Nov 2010 19:39:55 +0000 (+0000)
Subject: followup r76127 - update parser tests.
X-Git-Tag: 1.31.0-rc.0~34065
X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/Foo_bar_baz?a=commitdiff_plain;h=22dcf8b908292f855b6ed539aeb5ff0302c51ee3;p=lhc%2Fweb%2Fwiklou.git
followup r76127 - update parser tests.
---
diff --git a/maintenance/tests/parser/parserTests.txt b/maintenance/tests/parser/parserTests.txt
index e2ba9cce9a..fe718d761c 100644
--- a/maintenance/tests/parser/parserTests.txt
+++ b/maintenance/tests/parser/parserTests.txt
@@ -1388,7 +1388,7 @@ Plain link, capitalized
!! input
[[Main Page]]
!! result
-Main Page
+
Main Page
!! end
@@ -1397,7 +1397,7 @@ Plain link, uncapitalized
!! input
[[main Page]]
!! result
-main Page
+
main Page
!! end
@@ -1451,7 +1451,7 @@ Link with prefix
!! input
xxx[[main Page]], xxx[[Main Page]], Xxx[[main Page]] XXX[[main Page]], XXX[[Main Page]]
!! result
-xxxmain Page, xxxMain Page, Xxxmain Page XXXmain Page, XXXMain Page
+
xxxmain Page, xxxMain Page, Xxxmain Page XXXmain Page, XXXMain Page
!! end
@@ -1460,7 +1460,7 @@ Link with suffix
!! input
[[Main Page]]xxx, [[Main Page]]XXX, [[Main Page]]!!!
!! result
-Main Pagexxx, Main PageXXX, Main Page!!!
+
Main Pagexxx, Main PageXXX, Main Page!!!
!! end
@@ -1693,7 +1693,7 @@ title=[[0]]
!!input
[[00]]
!!result
-00
+
00
!!end
@@ -1725,7 +1725,7 @@ Inline interwiki link
!! input
[[MeatBall:SoftSecurity]]
!! result
-MeatBall:SoftSecurity
+
MeatBall:SoftSecurity
!! end
@@ -1734,7 +1734,7 @@ Inline interwiki link with empty title (bug 2372)
!! input
[[MeatBall:]]
!! result
-MeatBall:
+
MeatBall:
!! end
@@ -2608,7 +2608,7 @@ Template as link source
!! input
[[{{linktest2}}]]
!! result
-Main Page
+
Main Page
!! end
@@ -2630,7 +2630,7 @@ Template infinite loop
!! input
{{loop1}}
!! result
-Template loop detected: Template:Loop1
+
Template loop detected: Template:Loop1
!! end
@@ -3402,7 +3402,7 @@ Image with frame and link
!! input
[[Image:Foobar.jpg|frame|left|This is a test image [[Main Page]]]]
!! result
-
+
!! end
@@ -3411,7 +3411,7 @@ Image with frame and link and explicit alt
!! input
[[Image:Foobar.jpg|frame|left|This is a test image [[Main Page]]|alt=Altitude]]
!! result
-
+
!! end
@@ -3632,7 +3632,7 @@ Redirected image
!! input
[[Image:Barfoo.jpg]]
!! result
-File:Barfoo.jpg
+
File:Barfoo.jpg
!! end
@@ -3643,7 +3643,7 @@ wgEnableUploads=0
!! input
[[Image:Foobaz.jpg]]
!! result
-File:Foobaz.jpg
+
File:Foobaz.jpg
!! end
@@ -3713,7 +3713,7 @@ Link to category
!! input
[[:Category:MediaWiki User's Guide]]
!! result
-Category:MediaWiki User's Guide
+
Category:MediaWiki User's Guide
!! end
@@ -4381,7 +4381,7 @@ The page's name is U+05d0 U+05b7, with non-canonical form U+FB2E
אַ
אÖ·
×ַ
-×Ö·
+×Ö·
!! end
@@ -4444,7 +4444,7 @@ Bug 2095: link with three closing brackets
!! input
[[Main Page]]]
!! result
-Main Page]
+
Main Page]
!! end
@@ -5635,7 +5635,7 @@ Special page transclusion
!! result
-
+
!! end
@@ -5648,10 +5648,10 @@ Special page transclusion twice (bug 5021)
!! result
-
+
-
+
!! end
@@ -6546,7 +6546,7 @@ Special:Search page linking.
!! input
{{Special:search}}
!! result
-Special:Search
+
Special:Search
!! end
@@ -6663,7 +6663,7 @@ image:foobar.jpg
!! result
- Foo Main Page
+ Foo Main Page
Nonexistant.jpg
@@ -6682,7 +6682,7 @@ image:foobar.jpg
|
@@ -6727,7 +6727,7 @@ caption
Foobar.jpg
-some caption Main Page
+some caption Main Page
|
@@ -7301,7 +7301,7 @@ language=sr
!! input
[[Main Page]] can be written as [[Ðаин Ðаге]] same as [[Ðаин Ðаге]].
!! result
-Main Page can be written as Ðаин Ðаге same as Ðаин Ðаге.
+
Main Page can be written as Ðаин Ðаге same as Ðаин Ðаге.
!!end
@@ -7396,7 +7396,7 @@ language=sr variant=sr-ec
!! input
-{[[Main Page]]}-
!! result
-Main Page
+
Main Page
!! end
@@ -7898,9 +7898,9 @@ wgLinkHolderBatchSize=0
[[meatball:2]]
[[meatball:3]]
!! result
-meatball:1
-meatball:2
-meatball:3
+
meatball:1
+meatball:2
+meatball:3
!! end
@@ -8017,7 +8017,7 @@ comment
!! input
I like the [[Main Page]] a lot
!! result
-I like the Main Page a lot
+I like the Main Page a lot
!!end
!! test