From: Raimond Spekking Date: Mon, 16 Feb 2009 08:51:38 +0000 (+0000) Subject: Cleanup image description page a bit: X-Git-Tag: 1.31.0-rc.0~42880 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=b13fc73642662da98115834508171b5c76696336;p=lhc%2Fweb%2Fwiklou.git Cleanup image description page a bit: * Remove the link to Special:FileDuplicateSearch from the "file history" section of image description pages as the list of duplicated files is shown in the next section anyway. * Add the link to Special:FileDuplicateSearch to the message 'duplicatesoffile' --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index eac9d97742..5bb7bd5923 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -103,6 +103,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Wrap warning message 'editinginterface' into a div with class 'mw-editinginterface' * (bug 17497) Oasis opendocument added to mime.types +* Remove the link to Special:FileDuplicateSearch from the "file history" section + of image description pages as the list of duplicated files is shown in the + next section anyway. === Bug fixes in 1.15 === * (bug 16968) Special:Upload no longer throws useless warnings. diff --git a/includes/ImagePage.php b/includes/ImagePage.php index fb4fe248fc..1dc6fd6749 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -577,10 +577,6 @@ EOT $wgOut->addHTML( "
  • " ); } - # Link to Special:FileDuplicateSearch - $dupeLink = $sk->makeKnownLinkObj( SpecialPage::getTitleFor( 'FileDuplicateSearch', $this->mTitle->getDBkey() ), wfMsgHtml( 'imagepage-searchdupe' ) ); - $wgOut->addHTML( "
  • {$dupeLink}
  • " ); - # External editing link $elink = $sk->makeKnownLinkObj( $this->mTitle, wfMsgHtml( 'edit-externally' ), 'action=edit&externaledit=true&mode=file' ); $wgOut->addHTML( '
  • ' . $elink . ' ' . wfMsgExt( 'edit-externally-help', array( 'parseinline' ) ) . '
  • ' ); @@ -694,7 +690,7 @@ EOT $wgOut->addHTML( "
    \n" ); $wgOut->addWikiMsg( 'duplicatesoffile', - $wgLang->formatNum( count( $dupes ) ) + $wgLang->formatNum( count( $dupes ) ), $this->mTitle->getDBkey() ); $wgOut->addHTML( "