r39664 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39663‎ | r39664 | r39665 >
Date:21:24, 19 August 2008
Author:brion
Status:old
Tags:
Comment:
Add another parser test for whitespace before the number-px, just for good measure. That one was in use on pages on frwiki
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -6230,6 +6230,15 @@
62316231 !!end
62326232
62336233 !! test
 6234+Width-sized image (using px, with preceding whitespace - test regression from r39467)
 6235+!! input
 6236+[[Image:foobar.jpg| 640px]]
 6237+!! result
 6238+<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>
 6239+</p>
 6240+!!end
 6241+
 6242+!! test
62346243 Another italics / bold test
62356244 !! input
62366245 ''' ''x'

Status & tagging log