Index: trunk/phase3/RELEASE-NOTES-1.18 |
— | — | @@ -259,6 +259,7 @@ |
260 | 260 | as the server name. |
261 | 261 | * (bug 19725) Do not list suppressed edits in the "View X deleted edits" link |
262 | 262 | if user cannot view suppressed edits. |
| 263 | +* The View X deleted revisions is now shown again on Special:Upload. |
263 | 264 | |
264 | 265 | === API changes in 1.18 === |
265 | 266 | * (bug 26339) Throw warning when truncating an overlarge API result. |
Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -224,7 +224,7 @@ |
225 | 225 | */ |
226 | 226 | protected function showUploadForm( $form ) { |
227 | 227 | # Add links if file was previously deleted |
228 | | - if ( !$this->mDesiredDestName ) { |
| 228 | + if ( $this->mDesiredDestName ) { |
229 | 229 | $this->showViewDeletedLinks(); |
230 | 230 | } |
231 | 231 | |
— | — | @@ -330,11 +330,6 @@ |
331 | 331 | } |
332 | 332 | } |
333 | 333 | } |
334 | | - |
335 | | - // Show the relevant lines from deletion log (for still deleted files only) |
336 | | - if( $title instanceof Title && $title->isDeletedQuick() && !$title->exists() ) { |
337 | | - $this->showDeletionLog( $wgOut, $title->getPrefixedText() ); |
338 | | - } |
339 | 334 | } |
340 | 335 | |
341 | 336 | /** |