r61855 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61854‎ | r61855 | r61856 >
Date:15:03, 2 February 2010
Author:conrad
Status:ok
Tags:
Comment:
Add a parser test for r61816
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -3270,6 +3270,15 @@
32713271 !! end
32723272
32733273 !! test
 3274+bug 18784 Link to non-existant image page with caption should use caption as link text
 3275+!! input
 3276+[[:Image:test|caption]]
 3277+!! result
 3278+<p><a href="https://www.mediawiki.org/index.php?title=File:Test&amp;action=edit&amp;redlink=1" class="new" title="File:Test (page does not exist)">caption</a>
 3279+</p>
 3280+!! end
 3281+
 3282+!! test
32743283 Frameless image caption with a free URL
32753284 !! input
32763285 [[Image:foobar.jpg|http://example.com]]

Follow-up revisions

RevisionCommit summaryAuthorDate
r61863existant -> existent for r61855simetrical17:46, 2 February 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r61816Bug 18784 - Internal links like [[File:Foo|caption]] should read 'caption', n...conrad20:43, 1 February 2010

Status & tagging log