Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1945
parserTests.txt.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:19 PM
2014-11-21 20:19:07 (UTC+0)
Size
906 B
Referenced Files
None
Subscribers
None
parserTests.txt.patch
View Options
Index: maintenance/parserTests.txt
===================================================================
RCS file: /cvsroot/wikipedia/phase3/maintenance/parserTests.txt,v
retrieving revision 1.86
diff -u -r1.86 parserTests.txt
--- maintenance/parserTests.txt 16 Jun 2005 05:36:10 -0000 1.86
+++ maintenance/parserTests.txt 22 Jun 2005 16:43:23 -0000
@@ -2281,6 +2281,24 @@
</p>
!! end
+!! test
+Image link to nonexistent file (bug 1850 - good)
+!! input
+[[Image:No such.jpg]]
+!! result
+<p><a href="/index.php?title=Special:Upload&wpDestFile=No_such.jpg" class="new" title="Image:No such.jpg">Image:No such.jpg</a>
+</p>
+!! end
+
+!! test
+:Image link to nonexistent file (bug 1850 - bad)
+!! input
+[[:Image:No such.jpg]]
+!! result
+<p><a href="/index.php?title=Special:Upload&wpDestFile=No_such.jpg" class="new" title="Image:No such.jpg">:Image:No such.jpg</a>
+</p>
+!! end
+
!! test
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1448
Default Alt Text
parserTests.txt.patch (906 B)
Attached To
Mode
T3850: Non-inline links to missing images / image description pages should be marked as broken
Attached
Detach File
Event Timeline
Log In to Comment