dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a9b77
)
Add another parser test for whitespace before the number-px, just for good measure...
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 19 Aug 2008 21:24:47 +0000
(21:24 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 19 Aug 2008 21:24:47 +0000
(21:24 +0000)
maintenance/parserTests.txt
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.txt
b/maintenance/parserTests.txt
index
9c660c7
..
edd3ea9
100644
(file)
--- a/
maintenance/parserTests.txt
+++ b/
maintenance/parserTests.txt
@@
-6229,6
+6229,15
@@
Width-sized image (using px, with following whitespace - test regression from r3
</p>
!!end
+!! test
+Width-sized image (using px, with preceding 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