r31888 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31887‎ | r31888 | r31889 >
Date:22:01, 12 March 2008
Author:brion
Status:old
Tags:
Comment:
Fix for r31844 -- pretty CamelCase special page names affect some test case results
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -2102,7 +2102,7 @@
21032103 !! input
21042104 ISBN 0-306-40615-2
21052105 !! result
2106 -<p><a href="https://www.mediawiki.org/wiki/Special:Booksources/0306406152" class="internal">ISBN 0-306-40615-2</a>
 2106+<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/0306406152" class="internal">ISBN 0-306-40615-2</a>
21072107 </p>
21082108 !! end
21092109
@@ -3022,7 +3022,7 @@
30233023 !! input
30243024 {{#special:Recentchanges}}
30253025 !! result
3026 -Special:Recentchanges
 3026+Special:RecentChanges
30273027 !! end
30283028
30293029 !! test
@@ -3108,7 +3108,7 @@
31093109 !! input
31103110 [[Image:foobar.jpg|thumb|ISBN 1235467890]]
31113111 !! result
3112 -<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="image" title="ISBN 1235467890"><img alt="ISBN 1235467890" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" border="0" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><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="" /></a></div><a href="https://www.mediawiki.org/wiki/Special:Booksources/1235467890" class="internal">ISBN 1235467890</a></div></div></div>
 3112+<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="image" title="ISBN 1235467890"><img alt="ISBN 1235467890" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" width="180" height="20" border="0" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><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="" /></a></div><a href="https://www.mediawiki.org/wiki/Special:BookSources/1235467890" class="internal">ISBN 1235467890</a></div></div></div>
31133113
31143114 !! end
31153115
@@ -6014,7 +6014,7 @@
60156015 !! input
60166016 ISBN 978-0-1234-56&#x20;789
60176017 !! result
6018 -<p><a href="https://www.mediawiki.org/wiki/Special:Booksources/9780123456" class="internal">ISBN 978-0-1234-56</a>&#x20;789
 6018+<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/9780123456" class="internal">ISBN 978-0-1234-56</a>&#x20;789
60196019 </p>
60206020 !! end
60216021
@@ -6032,7 +6032,7 @@
60336033 !! input
60346034 ISBN ISBN 1234567890
60356035 !! result
6036 -<p>ISBN <a href="https://www.mediawiki.org/wiki/Special:Booksources/1234567890" class="internal">ISBN 1234567890</a>
 6036+<p>ISBN <a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal">ISBN 1234567890</a>
60376037 </p>
60386038 !! end
60396039
@@ -6341,7 +6341,7 @@
63426342 !! input
63436343 ISBN 92 9017 032 8
63446344 !! result
6345 -<p><a href="https://www.mediawiki.org/wiki/Special:Booksources/9290170328" class="internal">ISBN 92 9017 032 8</a>
 6345+<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/9290170328" class="internal">ISBN 92 9017 032 8</a>
63466346 </p>
63476347 !! end
63486348
@@ -6366,7 +6366,7 @@
63676367 ISBN 12345678901
63686368 !! result
63696369 <p>ISBN 123456789
6370 -</p><p><a href="https://www.mediawiki.org/wiki/Special:Booksources/1234567890" class="internal">ISBN 1234567890</a>
 6370+</p><p><a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal">ISBN 1234567890</a>
63716371 </p><p>ISBN 12345678901
63726372 </p>
63736373 !! end
@@ -6379,8 +6379,8 @@
63806380
63816381 ISBN 1 234 56789 0 - 2006
63826382 !! result
6383 -<p><a href="https://www.mediawiki.org/wiki/Special:Booksources/1234567890" class="internal">ISBN 1-234-56789-0</a> - 2006
6384 -</p><p><a href="https://www.mediawiki.org/wiki/Special:Booksources/1234567890" class="internal">ISBN 1 234 56789 0</a> - 2006
 6383+<p><a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal">ISBN 1-234-56789-0</a> - 2006
 6384+</p><p><a href="https://www.mediawiki.org/wiki/Special:BookSources/1234567890" class="internal">ISBN 1 234 56789 0</a> - 2006
63856385 </p>
63866386 !! end
63876387

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r31844(bug 11986) Revert special-page capitalisation to CamelCase (but the names ar...werdna05:30, 12 March 2008

Status & tagging log