From 3e54e6ba046cdfa8570b063a326ccfc9af41f84b Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Sat, 25 Feb 2012 20:30:38 +0000 Subject: [PATCH] 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. --- includes/ImagePage.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index cc2d5dfc40..7e72db909e 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -109,8 +109,6 @@ class ImagePage extends Article { } } - $this->showRedirectedFromHeader(); - if ( $wgShowEXIF && $this->displayImg->exists() ) { // @todo FIXME: Bad interface, see note on MediaHandler::formatMetadata(). $formattedMetadata = $this->displayImg->formatMetadata(); -- 2.20.1