r39663 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39662‎ | r39663 | r39664 >
Date:21:10, 19 August 2008
Author:brion
Status:old
Tags:
Comment:
2 new PASSING test(s) :)
* 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]
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -6212,6 +6212,24 @@
62136213 !!end
62146214
62156215 !! test
 6216+Width-sized image (using px, no following whitespace)
 6217+!! input
 6218+[[Image:foobar.jpg|640px]]
 6219+!! result
 6220+<p><a href="https://www.mediawiki.org/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>
 6221+</p>
 6222+!!end
 6223+
 6224+!! test
 6225+Width-sized image (using px, with following whitespace - test regression from r39467)
 6226+!! input
 6227+[[Image:foobar.jpg|640px ]]
 6228+!! result
 6229+<p><a href="https://www.mediawiki.org/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>
 6230+</p>
 6231+!!end
 6232+
 6233+!! test
62166234 Another italics / bold test
62176235 !! input
62186236 ''' ''x'

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r39467Fix for problems with r39414; LinkHolderArray::replaceInterwiki() was badly b...krimpet10:13, 16 August 2008

Status & tagging log