X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FparserTests.txt;h=c84e0e35cffbb5b196c45cbac2cbbbadd173e75c;hb=5c58613f4d77fa214830caced95948e057c0c69e;hp=06242c5b9a79d60be4f0d7a56d690f260afcad56;hpb=d8119bd420c619037680dee5f49849a423cf0640;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 06242c5b9a..c84e0e35cf 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -2096,7 +2096,7 @@ Namespace -1 {{ns:-1}} !! end !! test -Namespace Project {{ns:User}} +Namespace User {{ns:User}} !! input {{ns:User}} !! result @@ -2104,6 +2104,64 @@ Namespace Project {{ns:User}}
!! end +!! test +Namespace User talk {{ns:User_talk}} +!! input +{{ns:User_talk}} +!! result +User talk +
+!! end + +!! test +Namespace User talk {{ns:uSeR tAlK}} +!! input +{{ns:uSeR tAlK}} +!! result +User talk +
+!! end + +!! test +Namespace File {{ns:File}} +!! input +{{ns:File}} +!! result +File +
+!! end + +!! test +Namespace File {{ns:Image}} +!! input +{{ns:Image}} +!! result +File +
+!! end + +!! test +Namespace (lang=de) Benutzer {{ns:User}} +!! options +language=de +!! input +{{ns:User}} +!! result +Benutzer +
+!! end + +!! test +Namespace (lang=de) Benutzer Diskussion {{ns:3}} +!! options +language=de +!! input +{{ns:3}} +!! result +Benutzer Diskussion +
+!! end + ### ### Magic links @@ -2149,7 +2207,7 @@ PMID 1234 #### !! test -Nonexistant template +Nonexistent template !! input {{thistemplatedoesnotexist}} !! result @@ -2335,7 +2393,7 @@ Template with thumb image (with link in description) {{paramtest| param =[[Image:noimage.png|thumb|[[no link|link]] [[no link|caption]]]]}} !! result -This is a test template with parameter +This is a test template with parameter !! end @@ -2623,8 +2681,8 @@ Bug 6563: Edit link generation for section shown byImage:test +#
Image:test !! input [[:Image:test]] !! result -
!! end @@ -3175,7 +3242,7 @@ Frameless image caption with a free URL !! input [[Image:foobar.jpg|http://example.com]] !! result - !! end @@ -3184,7 +3251,7 @@ Thumbnail image caption with a free URL !! input [[Image:foobar.jpg|thumb|http://example.com]] !! result - + !! end @@ -3193,7 +3260,7 @@ Thumbnail image caption with a free URL and explicit alt !! input [[Image:foobar.jpg|thumb|http://example.com|alt=Alteration]] !! result - + !! end @@ -3202,7 +3269,7 @@ BUG 1887: A ISBN with a thumbnail !! input [[Image:foobar.jpg|thumb|ISBN 1235467890]] !! result - + !! end @@ -3211,7 +3278,7 @@ BUG 1887: A RFC with a thumbnail !! input [[Image:foobar.jpg|thumb|This is RFC 12354]] !! result -Some text
-More
-Blah blah
!! end @@ -3501,14 +3568,14 @@ Some text -Some text
-Contents
[edit] a+[edit] a![]() An external URL ![]() An external URL [edit] header+[edit] header!! end @@ -6525,12 +6592,12 @@ Out-of-order TOC heading levels |
[[link
-{{foo|
-{{foo|
-