From 855cfcbc81dc35304b9d49f70809e0457c08e1f0 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 7 Sep 2011 23:41:12 +0000 Subject: [PATCH] Reverted r88023 per CR --- includes/specials/SpecialDeletedContributions.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/specials/SpecialDeletedContributions.php b/includes/specials/SpecialDeletedContributions.php index 265de421d4..2d8854e4fa 100644 --- a/includes/specials/SpecialDeletedContributions.php +++ b/includes/specials/SpecialDeletedContributions.php @@ -63,7 +63,7 @@ class DeletedContribsPager extends IndexPager { 'tables' => array( 'archive' ), 'fields' => array( 'ar_rev_id', 'ar_namespace', 'ar_title', 'ar_timestamp', 'ar_comment', 'ar_minor_edit', - 'ar_user', 'ar_user_text', 'ar_deleted', 'ar_len' + 'ar_user', 'ar_user_text', 'ar_deleted' ), 'conds' => $conds, 'options' => array( 'USE INDEX' => $index ) @@ -74,7 +74,7 @@ class DeletedContribsPager extends IndexPager { $condition = array(); $condition['ar_user_text'] = $this->target; - $index = array( 'archive' => 'ar_usertext_timestamp' ); + $index = 'usertext_timestamp'; return array( $index, $condition ); } @@ -222,8 +222,7 @@ class DeletedContribsPager extends IndexPager { wfMsg( 'parentheses', $wgLang->pipeList( array( $last, $dellog, $reviewlink ) ) ) ); - $diffOut = Linker::formatRevisionSize( $row->ar_len ); - $ret = "{$del}{$link} {$tools} . . {$mflag} {$diffOut} {$pagelink} {$comment}"; + $ret = "{$del}{$link} {$tools} . . {$mflag} {$pagelink} {$comment}"; # Denote if username is redacted for this edit if( $rev->isDeleted( Revision::DELETED_USER ) ) { -- 2.20.1