2 new PASSING test(s) :)
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 19 Aug 2008 21:10:56 +0000 (21:10 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 19 Aug 2008 21:10:56 +0000 (21:10 +0000)
      * Width-sized image (using px, no following whitespace)  [Has never failed]
      * Width-sized image (using px, with following whitespace - test regression from r39467)  [Has never failed]

maintenance/parserTests.txt

index 0b4b29b..9c660c7 100644 (file)
@@ -6211,6 +6211,24 @@ Width + Height sized image (using px) (height is ignored)
 </p>
 !!end
 
+!! test
+Width-sized image (using px, no following whitespace)
+!! input
+[[Image:foobar.jpg|640px]]
+!! result
+<p><a href="/wiki/Image:Foobar.jpg" class="image" title="Foobar.jpg"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/640px-Foobar.jpg" width="640" height="73" border="0" /></a>
+</p>
+!!end
+
+!! test
+Width-sized image (using px, with following whitespace - test regression from r39467)
+!! input
+[[Image:foobar.jpg|640px ]]
+!! result
+<p><a href="/wiki/Image:Foobar.jpg" class="image" title="Foobar.jpg"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/640px-Foobar.jpg" width="640" height="73" border="0" /></a>
+</p>
+!!end
+
 !! test
 Another italics / bold test
 !! input