dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0514a49
)
Fixes bug 34715 Image redirects show the "redirected from" subtitle twice.
author
Derk-Jan Hartman
<hartman@users.mediawiki.org>
Sat, 25 Feb 2012 20:30:38 +0000
(20:30 +0000)
committer
Derk-Jan Hartman
<hartman@users.mediawiki.org>
Sat, 25 Feb 2012 20:30:38 +0000
(20:30 +0000)
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
patch
|
blob
|
history
diff --git
a/includes/ImagePage.php
b/includes/ImagePage.php
index
cc2d5df
..
7e72db9
100644
(file)
--- 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();