r57135 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57134‎ | r57135 | r57136 >
Date:18:57, 30 September 2009
Author:aaron
Status:ok
Tags:
Comment:
merged r57131
Modified paths:
  • /branches/wmf-deployment/includes/specials/SpecialRevisiondelete.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/includes/specials/SpecialRevisiondelete.php
@@ -1418,7 +1418,7 @@
14191419 * Overridden by RevDel_ArchivedFileItem.
14201420 */
14211421 protected function getLink() {
1422 - global $wgLang;
 1422+ global $wgLang, $wgUser;
14231423 $date = $wgLang->timeanddate( $this->file->getTimestamp(), true );
14241424 if ( $this->isDeleted() ) {
14251425 # Hidden files...
@@ -1430,7 +1430,8 @@
14311431 $date, array(),
14321432 array(
14331433 'target' => $this->list->title->getPrefixedText(),
1434 - 'file' => $this->file->sha1 . '.' . $this->file->getExtension()
 1434+ 'file' => $this->file->getArchiveName(),
 1435+ 'token' => $wgUser->editToken( $this->file->getArchiveName() )
14351436 )
14361437 );
14371438 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57131Fixed deleted image link regression: was totally brokenaaron18:49, 30 September 2009

Status & tagging log