Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -1250,7 +1250,6 @@ |
1251 | 1251 | 'noimage', |
1252 | 1252 | 'noimage-linktext', |
1253 | 1253 | 'uploadnewversion-linktext', |
1254 | | - 'imagepage-searchdupe', |
1255 | 1254 | ), |
1256 | 1255 | 'filerevert' => array( |
1257 | 1256 | 'filerevert', |
Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -577,10 +577,6 @@ |
578 | 578 | $wgOut->addHTML( "<li><div class='plainlinks'>{$ulink}</div></li>" ); |
579 | 579 | } |
580 | 580 | |
581 | | - # Link to Special:FileDuplicateSearch |
582 | | - $dupeLink = $sk->makeKnownLinkObj( SpecialPage::getTitleFor( 'FileDuplicateSearch', $this->mTitle->getDBkey() ), wfMsgHtml( 'imagepage-searchdupe' ) ); |
583 | | - $wgOut->addHTML( "<li>{$dupeLink}</li>" ); |
584 | | - |
585 | 581 | # External editing link |
586 | 582 | $elink = $sk->makeKnownLinkObj( $this->mTitle, wfMsgHtml( 'edit-externally' ), 'action=edit&externaledit=true&mode=file' ); |
587 | 583 | $wgOut->addHTML( '<li>' . $elink . ' <small>' . wfMsgExt( 'edit-externally-help', array( 'parseinline' ) ) . '</small></li>' ); |
— | — | @@ -694,7 +690,7 @@ |
695 | 691 | |
696 | 692 | $wgOut->addHTML( "<div id='mw-imagepage-section-duplicates'>\n" ); |
697 | 693 | $wgOut->addWikiMsg( 'duplicatesoffile', |
698 | | - $wgLang->formatNum( count( $dupes ) ) |
| 694 | + $wgLang->formatNum( count( $dupes ) ), $this->mTitle->getDBkey() |
699 | 695 | ); |
700 | 696 | $wgOut->addHTML( "<ul class='mw-imagepage-duplicates'>\n" ); |
701 | 697 | |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1980,7 +1980,7 @@ |
1981 | 1981 | 'nolinkstoimage' => 'There are no pages that link to this file.', |
1982 | 1982 | 'morelinkstoimage' => 'View [[Special:WhatLinksHere/$1|more links]] to this file.', |
1983 | 1983 | 'redirectstofile' => 'The following {{PLURAL:$1|file redirects|$1 files redirect}} to this file:', |
1984 | | -'duplicatesoffile' => 'The following {{PLURAL:$1|file is a duplicate|$1 files are duplicates}} of this file:', |
| 1984 | +'duplicatesoffile' => 'The following {{PLURAL:$1|file is a duplicate|$1 files are duplicates}} of this file ([[Special:FileDuplicateSearch/$2|more details]]):', |
1985 | 1985 | 'sharedupload' => 'This file is a shared upload and may be used by other projects.', |
1986 | 1986 | 'shareduploadwiki' => 'Please see the $1 for further information.', |
1987 | 1987 | 'shareduploadwiki-desc' => 'The description on its $1 on the shared repository is shown below.', |
— | — | @@ -1993,7 +1993,6 @@ |
1994 | 1994 | 'noimage' => 'No file by this name exists, but you can $1.', |
1995 | 1995 | 'noimage-linktext' => 'upload one', |
1996 | 1996 | 'uploadnewversion-linktext' => 'Upload a new version of this file', |
1997 | | -'imagepage-searchdupe' => 'Search for duplicate files', |
1998 | 1997 | |
1999 | 1998 | # File reversion |
2000 | 1999 | 'filerevert' => 'Revert $1', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -103,6 +103,9 @@ |
104 | 104 | * Wrap warning message 'editinginterface' into a div with class |
105 | 105 | 'mw-editinginterface' |
106 | 106 | * (bug 17497) Oasis opendocument added to mime.types |
| 107 | +* Remove the link to Special:FileDuplicateSearch from the "file history" section |
| 108 | + of image description pages as the list of duplicated files is shown in the |
| 109 | + next section anyway. |
107 | 110 | |
108 | 111 | === Bug fixes in 1.15 === |
109 | 112 | * (bug 16968) Special:Upload no longer throws useless warnings. |