r9548 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r9547‎ | r9548 | r9549 >
Date:13:48, 21 June 2005
Author:avar
Status:old
Tags:
Comment:
* (bug 1887) Applying attachment 461
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -1268,7 +1268,7 @@
12691269 !! end
12701270
12711271 !! test
1272 -Magic links: ISBN (bug 1937 unresolved)
 1272+Magic links: ISBN (bug 1937)
12731273 !! input
12741274 ISBN 0-306-40615-2
12751275 !! result
@@ -1736,6 +1736,22 @@
17371737
17381738 !! end
17391739
 1740+!! test
 1741+BUG 1887: A ISBN with a thumbnail
 1742+!! input
 1743+[[Image:foobar.jpg|thumb|ISBN 12354]]
 1744+!! result
 1745+<div class="thumb tright"><div style="width:182px;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="ISBN 12354"><img src="/images/3/3a/Foobar.jpg" alt="ISBN 12354" longdesc="/wiki/Image:Foobar.jpg" height="180" width="180"></a> <div class="thumbcaption"><div class="magnify" style="float:right;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="Enlarge"></a></div><a href="index.php?title=Special:Booksources&amp;isbn=12354" class="internal">ISBN 12354</a></div></div></div>
 1746+!! end
 1747+
 1748+!! test
 1749+BUG 1887: A <math> with a thumbnail
 1750+!! input
 1751+[[Image:foobar.jpg|thumb|<math>2+2</math>]]
 1752+!! result
 1753+<div class="thumb tright"><div style="width:182px;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="2+2"><img src="/images/3/3a/Foobar.jpg" alt="2+2" longdesc="/wiki/Image:Foobar.jpg" height="180" width="180"></a> <div class="thumbcaption"><div class="magnify" style="float:right;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="Enlarge"></a></div>&lt;math&gt;2+2&lt;math&gt;</div></div></div>
 1754+!! end
 1755+
17401756 # Pending resolution to bug 368
17411757 !! test
17421758 BUG 648: Frameless image caption with a link

Follow-up revisions

RevisionCommit summaryAuthorDate
r13307Collected updates:...gabrielwicke17:10, 24 March 2006
r17481Fix parserTests regression introduced in r17479....nickj06:03, 8 November 2006
r35828Revert r35819 -- broke thumbnailing....brion23:46, 3 June 2008

Status & tagging log