From: Aaron Schulz Date: Wed, 7 Sep 2011 23:41:12 +0000 (+0000) Subject: Reverted r88023 per CR X-Git-Tag: 1.31.0-rc.0~27811 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=855cfcbc81dc35304b9d49f70809e0457c08e1f0;p=lhc%2Fweb%2Fwiklou.git Reverted r88023 per CR --- 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 ) ) {