Handle this todo: Allow local redirects to foreign images to be displayed on the...
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 30 Jan 2009 19:59:38 +0000 (19:59 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 30 Jan 2009 19:59:38 +0000 (19:59 +0000)
RELEASE-NOTES
includes/ImagePage.php

index fcdd6bc..b83ba4d 100644 (file)
@@ -71,6 +71,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   can now be determined and set with ParserOptions.
 * Wrap message 'confirmemail_pending' into a div with CSS classes "error" and
   "mw-confirmemail-pending"
+* Local redirects to foreign images are now displayed on the ImagePage when
+  viewing on the local wiki.
 
 === Bug fixes in 1.15 ===
 * (bug 16968) Special:Upload no longer throws useless warnings.
index 1aba85e..aea40a9 100644 (file)
@@ -129,11 +129,7 @@ class ImagePage extends Article {
                        array( 'id' => 'filelinks' ),
                        wfMsg( 'imagelinks' ) ) . "\n" );
                $this->imageDupes();
-               // TODO: We may want to find local images redirecting to a foreign 
-               // file: "The following local files redirect to this file"
-               if( $this->img->isLocal() ) {
-                       $this->imageRedirects();
-               }
+               $this->imageRedirects();
                $this->imageLinks();
 
                if( $showmeta ) {