(bug 14117) "redirected" from is now also shown on foreign file redirects
This commit is contained in:
parent
69f1435fd3
commit
b5f01cb273
2 changed files with 3 additions and 0 deletions
|
|
@ -535,6 +535,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
command line scripts to fail
|
||||
* (bug 20702) Parser functions can now be used correctly in
|
||||
MediaWiki:Missing-article
|
||||
* (bug 14117) "redirected from" is now also shown on foreign file redirects
|
||||
|
||||
== API changes in 1.16 ==
|
||||
|
||||
|
|
|
|||
|
|
@ -84,6 +84,8 @@ class ImagePage extends Article {
|
|||
|
||||
if( $this->mTitle->getNamespace() != NS_FILE || ( isset( $diff ) && $diffOnly ) )
|
||||
return Article::view();
|
||||
|
||||
$this->showRedirectedFromHeader();
|
||||
|
||||
if( $wgShowEXIF && $this->displayImg->exists() ) {
|
||||
// FIXME: bad interface, see note on MediaHandler::formatMetadata().
|
||||
|
|
|
|||
Loading…
Reference in a new issue