r55380 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55379‎ | r55380 | r55381 >
Date:13:41, 20 August 2009
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r55368: Fix parser tests
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -2183,7 +2183,7 @@
21842184 !! input
21852185 RFC 822
21862186 !! result
2187 -<p><a href="http://tools.ietf.org/html/rfc822" class="external">RFC 822</a>
 2187+<p><a href="http://tools.ietf.org/html/rfc822" class="external mw-magiclink-rfc">RFC 822</a>
21882188 </p>
21892189 !! end
21902190
@@ -2192,7 +2192,7 @@
21932193 !! input
21942194 ISBN 0-306-40615-2
21952195 !! result
2196 -<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/0306406152" class="internal">ISBN 0-306-40615-2</a>
 2196+<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/0306406152" class="internal mw-magiclink-isbn">ISBN 0-306-40615-2</a>
21972197 </p>
21982198 !! end
21992199
@@ -2201,7 +2201,7 @@
22022202 !! input
22032203 PMID 1234
22042204 !! result
2205 -<p><a href="http://www.ncbi.nlm.nih.gov/pubmed/1234?dopt=Abstract" class="external">PMID 1234</a>
 2205+<p><a href="http://www.ncbi.nlm.nih.gov/pubmed/1234?dopt=Abstract" class="external mw-magiclink-pmid">PMID 1234</a>
22062206 </p>
22072207 !! end
22082208
@@ -3290,7 +3290,7 @@
32913291 !! input
32923292 [[Image:foobar.jpg|thumb|ISBN 1235467890]]
32933293 !! result
3294 -<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="https://www.mediawiki.org/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><a href="https://www.mediawiki.org/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div><a href="https://www.mediawiki.org/wiki/Special:BookSources/1235467890" class="internal">ISBN 1235467890</a></div></div></div>
 3294+<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="https://www.mediawiki.org/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><a href="https://www.mediawiki.org/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div><a href="https://www.mediawiki.org/wiki/Special:BookSources/1235467890" class="internal mw-magiclink-isbn">ISBN 1235467890</a></div></div></div>
32953295
32963296 !! end
32973297
@@ -3299,7 +3299,7 @@
33003300 !! input
33013301 [[Image:foobar.jpg|thumb|This is RFC 12354]]
33023302 !! result
3303 -<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="https://www.mediawiki.org/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><a href="https://www.mediawiki.org/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>This is <a href="http://tools.ietf.org/html/rfc12354" class="external">RFC 12354</a></div></div></div>
 3303+<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="https://www.mediawiki.org/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><a href="https://www.mediawiki.org/wiki/File:Foobar.jpg" class="internal" title="Enlarge"><img src="/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>This is <a href="http://tools.ietf.org/html/rfc12354" class="external mw-magiclink-rfc">RFC 12354</a></div></div></div>
33043304
33053305 !! end
33063306
@@ -6298,7 +6298,7 @@
62996299 !! input
63006300 ISBN 978-0-1234-56&#x20;789
63016301 !! result
6302 -<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/9780123456" class="internal">ISBN 978-0-1234-56</a>&#x20;789
 6302+<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/9780123456" class="internal mw-magiclink-isbn">ISBN 978-0-1234-56</a>&#x20;789
63036303 </p>
63046304 !! end
63056305
@@ -6316,7 +6316,7 @@
63176317 !! input
63186318 ISBN ISBN 1234567890
63196319 !! result
6320 -<p>ISBN <a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal">ISBN 1234567890</a>
 6320+<p>ISBN <a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal mw-magiclink-isbn">ISBN 1234567890</a>
63216321 </p>
63226322 !! end
63236323
@@ -6325,7 +6325,7 @@
63266326 !! input
63276327 RFC RFC 1234
63286328 !! result
6329 -<p>RFC <a href="http://tools.ietf.org/html/rfc1234" class="external">RFC 1234</a>
 6329+<p>RFC <a href="http://tools.ietf.org/html/rfc1234" class="external mw-magiclink-rfc">RFC 1234</a>
63306330 </p>
63316331 !! end
63326332
@@ -6343,7 +6343,7 @@
63446344 !! input
63456345 RFC 983&#x20;987
63466346 !! result
6347 -<p><a href="http://tools.ietf.org/html/rfc983" class="external">RFC 983</a>&#x20;987
 6347+<p><a href="http://tools.ietf.org/html/rfc983" class="external mw-magiclink-rfc">RFC 983</a>&#x20;987
63486348 </p>
63496349 !! end
63506350
@@ -6652,7 +6652,7 @@
66536653 !! input
66546654 ISBN 92 9017 032 8
66556655 !! result
6656 -<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/9290170328" class="internal">ISBN 92 9017 032 8</a>
 6656+<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/9290170328" class="internal mw-magiclink-isbn">ISBN 92 9017 032 8</a>
66576657 </p>
66586658 !! end
66596659
@@ -6677,7 +6677,7 @@
66786678 ISBN 12345678901
66796679 !! result
66806680 <p>ISBN 123456789
6681 -</p><p><a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal">ISBN 1234567890</a>
 6681+</p><p><a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal mw-magiclink-isbn">ISBN 1234567890</a>
66826682 </p><p>ISBN 12345678901
66836683 </p>
66846684 !! end
@@ -6690,8 +6690,8 @@
66916691
66926692 ISBN 1 234 56789 0 - 2006
66936693 !! result
6694 -<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal">ISBN 1-234-56789-0</a> - 2006
6695 -</p><p><a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal">ISBN 1 234 56789 0</a> - 2006
 6694+<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal mw-magiclink-isbn">ISBN 1-234-56789-0</a> - 2006
 6695+</p><p><a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal mw-magiclink-isbn">ISBN 1 234 56789 0</a> - 2006
66966696 </p>
66976697 !! end
66986698

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r55368* (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links addedraymond09:13, 20 August 2009

Status & tagging log