Update test case for 'Template with thumb image (with link in description)'.
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 5 Jun 2007 19:32:09 +0000 (19:32 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 5 Jun 2007 19:32:09 +0000 (19:32 +0000)
Change in behavior for thumb rendering of a nonexistent image: instead of using the icon size (120px) the hardcoded default thumb size (180px) is now used. Since this isn't really defined behavior there doesn't seem to be a pressing reason to change it back.

maintenance/parserTests.txt

index 8ed757c..8577cc0 100644 (file)
@@ -2267,7 +2267,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 <div class="thumb tright"><div class="thumbinner" style="width:122px;"><a href="/index.php?title=Special:Upload&amp;wpDestFile=Noimage.png" class="new" title="Image:Noimage.png">Image:Noimage.png</a>  <div class="thumbcaption"><a href="/index.php?title=No_link&amp;action=edit" class="new" title="No link">link</a> <a href="/index.php?title=No_link&amp;action=edit" class="new" title="No link">caption</a></div></div></div>
+This is a test template with parameter <div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/index.php?title=Special:Upload&amp;wpDestFile=Noimage.png" class="new" title="Image:Noimage.png">Image:Noimage.png</a>  <div class="thumbcaption"><a href="/index.php?title=No_link&amp;action=edit" class="new" title="No link">link</a> <a href="/index.php?title=No_link&amp;action=edit" class="new" title="No link">caption</a></div></div></div>
 
 !! end