r112408 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112407‎ | r112408 | r112409 >
Date:20:30, 25 February 2012
Author:hartman
Status:ok
Tags:
Comment:
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) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -109,8 +109,6 @@
110110 }
111111 }
112112
113 - $this->showRedirectedFromHeader();
114 -
115113 if ( $wgShowEXIF && $this->displayImg->exists() ) {
116114 // @todo FIXME: Bad interface, see note on MediaHandler::formatMetadata().
117115 $formattedMetadata = $this->displayImg->formatMetadata();

Follow-up revisions

RevisionCommit summaryAuthorDate
r112532MFT r112374, r112383, r112397, r112408, r112474reedy22:31, 27 February 2012
r112647MFT r112384, r112400, r112408, r112451, r112456, r112474, r112526, r112533, r...reedy21:21, 28 February 2012

Status & tagging log