https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112408

Revision: 112408
Author:   hartman
Date:     2012-02-25 20:30:38 +0000 (Sat, 25 Feb 2012)
Log Message:
-----------
Fixes bug 34715 Image redirects show the "redirected from" subtitle twice.

ImagePage no longer needs to set the "redirectedfrom" header by itself. Seems 
Article.php is taking care of it now. I suspect this was caused by the 
refactoring of WikiPage, Article, etc.

Modified Paths:
--------------
    trunk/phase3/includes/ImagePage.php

Modified: trunk/phase3/includes/ImagePage.php
===================================================================
--- trunk/phase3/includes/ImagePage.php 2012-02-25 19:40:27 UTC (rev 112407)
+++ trunk/phase3/includes/ImagePage.php 2012-02-25 20:30:38 UTC (rev 112408)
@@ -109,8 +109,6 @@
                        }
                }
 
-               $this->showRedirectedFromHeader();
-
                if ( $wgShowEXIF && $this->displayImg->exists() ) {
                        // @todo FIXME: Bad interface, see note on 
MediaHandler::formatMetadata().
                        $formattedMetadata = 
$this->displayImg->formatMetadata();


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to