Index: trunk/phase3/maintenance/parserTests.txt |
— | — | @@ -3270,6 +3270,15 @@ |
3271 | 3271 | !! end |
3272 | 3272 | |
3273 | 3273 | !! 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&action=edit&redlink=1" class="new" title="File:Test (page does not exist)">caption</a> |
| 3279 | +</p> |
| 3280 | +!! end |
| 3281 | + |
| 3282 | +!! test |
3274 | 3283 | Frameless image caption with a free URL |
3275 | 3284 | !! input |
3276 | 3285 | [[Image:foobar.jpg|http://example.com]] |