Index: trunk/phase3/includes/Linker.php |
— | — | @@ -521,7 +521,7 @@ |
522 | 522 | } |
523 | 523 | |
524 | 524 | if ( !$thumb ) { |
525 | | - $s = $this->makeBrokenImageLinkObj( $title, '', '', '', '', $time==true ); |
| 525 | + $s = $this->makeBrokenImageLinkObj( $title, $fp['title'], '', '', '', $time==true ); |
526 | 526 | } else { |
527 | 527 | $params = array( |
528 | 528 | 'alt' => $fp['alt'], |
— | — | @@ -629,7 +629,7 @@ |
630 | 630 | |
631 | 631 | $s = "<div class=\"thumb t{$fp['align']}\"><div class=\"thumbinner\" style=\"width:{$outerWidth}px;\">"; |
632 | 632 | if( !$exists ) { |
633 | | - $s .= $this->makeBrokenImageLinkObj( $title, '', '', '', '', $time==true ); |
| 633 | + $s .= $this->makeBrokenImageLinkObj( $title, $fp['title'], '', '', '', $time==true ); |
634 | 634 | $zoomicon = ''; |
635 | 635 | } elseif ( !$thumb ) { |
636 | 636 | $s .= htmlspecialchars( wfMsg( 'thumbnail_error', '' ) ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -730,6 +730,7 @@ |
731 | 731 | * (bug 21870) No longer include Google logo from an external server on wiki error. |
732 | 732 | * (bug 22181) Do not truncate if the ellipsis actually make the string longer |
733 | 733 | * (bug 16039) Text disappearing after a bad image |
| 734 | +* (bug 18784) Internal links like [[File:Foo|caption]] should read 'caption', not 'File:Foo' when Foo is not an image |
734 | 735 | |
735 | 736 | == API changes in 1.16 == |
736 | 737 | |