* (bug 11264) The file logo on a file description page for documents (PDF, ...) now links to the file rather than the file description page

This commit is contained in:
Alexandre Emsenhuber 2009-09-26 09:25:15 +00:00
parent 0a7ce36121
commit 69cf34264c
2 changed files with 3 additions and 1 deletions

View file

@ -536,6 +536,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
* (bug 17747) Only display thumbnail column in file history if the image can
be rendered.
* (bug 3421) Live preview no longer breaks user CSS/JS previews
* (bug 11264) The file logo on a file description page for documents (PDF, ...)
now links to the file rather than the file description page
== API changes in 1.16 ==

View file

@ -443,7 +443,7 @@ class ImagePage extends Article {
$icon= $this->displayImg->iconThumb();
$wgOut->addHTML( '<div class="fullImageLink" id="file">' .
$icon->toHtml( array( 'desc-link' => true ) ) .
$icon->toHtml( array( 'file-link' => true ) ) .
"</div>\n" );
}