r10465 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r10464‎ | r10465 | r10466 >
Date:23:46, 12 August 2005
Author:imsop
Status:old
Tags:
Comment:
Parser test for bug 3090 (I knew I'd get CVS wrong)
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -1844,7 +1844,16 @@
18451845 !!end
18461846
18471847
 1848+!! test
 1849+Bug 3090: External links other than http: in image captions
 1850+!! input
 1851+[[Image:Foobar.jpg|thumb|200px|This caption has [irc://example.net irc] and [https://example.com Secure] ext links in it.]]
 1852+!! result
 1853+<div class="thumb tright"><div style="width:202px;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="This caption has irc and Secure ext links in it."><img src="/images/thumb/3/3a/Foobar.jpg/200px-Foobar.jpg" alt="This caption has irc and Secure ext links in it." width="200" height="23" longdesc="/wiki/Image:Foobar.jpg" /></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>This caption has <a href="irc://example.net" class='external text' title="irc://example.net" rel="nofollow">irc</a> and <a href="https://example.com" class='external text' title="https://example.com" rel="nofollow">Secure</a> ext links in it.</div></div></div>
18481854
 1855+!! end
 1856+
 1857+
18491858 ###
18501859 ### Subpages
18511860 ###

Follow-up revisions

RevisionCommit summaryAuthorDate
r10661(Bug 3090) mask all external links in image captions against double-parsing, ...imsop12:44, 20 August 2005
r10662(Bug 3090) mask all external links in image captions against double-parsing, ...imsop12:51, 20 August 2005
r35828Revert r35819 -- broke thumbnailing....brion23:46, 3 June 2008

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r10464Parser test for bug 3090imsop22:51, 12 August 2005

Status & tagging log