r22778 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22777‎ | r22778 | r22779 >
Date:19:32, 5 June 2007
Author:brion
Status:old
Tags:
Comment:
Update test case for 'Template with thumb image (with link in description)'.
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.
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -2267,7 +2267,7 @@
22682268 {{paramtest|
22692269 param =[[Image:noimage.png|thumb|[[no link|link]] [[no link|caption]]]]}}
22702270 !! result
2271 -This is a test template with parameter <div class="thumb tright"><div class="thumbinner" style="width:122px;"><a href="https://www.mediawiki.org/index.php?title=Special:Upload&amp;wpDestFile=Noimage.png" class="new" title="Image:Noimage.png">Image:Noimage.png</a> <div class="thumbcaption"><a href="https://www.mediawiki.org/index.php?title=No_link&amp;action=edit" class="new" title="No link">link</a> <a href="https://www.mediawiki.org/index.php?title=No_link&amp;action=edit" class="new" title="No link">caption</a></div></div></div>
 2271+This is a test template with parameter <div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="https://www.mediawiki.org/index.php?title=Special:Upload&amp;wpDestFile=Noimage.png" class="new" title="Image:Noimage.png">Image:Noimage.png</a> <div class="thumbcaption"><a href="https://www.mediawiki.org/index.php?title=No_link&amp;action=edit" class="new" title="No link">link</a> <a href="https://www.mediawiki.org/index.php?title=No_link&amp;action=edit" class="new" title="No link">caption</a></div></div></div>
22722272
22732273 !! end
22742274

Follow-up revisions

RevisionCommit summaryAuthorDate
r22791Merged revisions 22747-22790 via svnmerge from...david09:21, 6 June 2007

Status & tagging log