Index: trunk/phase3/includes/specials/SpecialDeletedContributions.php |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | 'tables' => array( 'archive' ), |
65 | 65 | 'fields' => array( |
66 | 66 | 'ar_rev_id', 'ar_namespace', 'ar_title', 'ar_timestamp', 'ar_comment', 'ar_minor_edit', |
67 | | - 'ar_user', 'ar_user_text', 'ar_deleted' |
| 67 | + 'ar_user', 'ar_user_text', 'ar_deleted', 'ar_len' |
68 | 68 | ), |
69 | 69 | 'conds' => $conds, |
70 | 70 | 'options' => array( 'USE INDEX' => $index ) |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | $condition = array(); |
76 | 76 | |
77 | 77 | $condition['ar_user_text'] = $this->target; |
78 | | - $index = 'usertext_timestamp'; |
| 78 | + $index = array( 'archive' => 'ar_usertext_timestamp' ); |
79 | 79 | |
80 | 80 | return array( $index, $condition ); |
81 | 81 | } |
— | — | @@ -235,7 +235,8 @@ |
236 | 236 | wfMsg( 'parentheses', $wgLang->pipeList( array( $last, $dellog, $reviewlink ) ) ) |
237 | 237 | ); |
238 | 238 | |
239 | | - $ret = "{$del}{$link} {$tools} . . {$mflag} {$pagelink} {$comment}"; |
| 239 | + $diffOut = ' . . '.ChangesList::showCharacterDifference( $row->ar_len, 0 ); |
| 240 | + $ret = "{$del}{$link} {$tools} . . {$mflag} {$diffOut} {$pagelink} {$comment}"; |
240 | 241 | |
241 | 242 | # Denote if username is redacted for this edit |
242 | 243 | if( $rev->isDeleted( Revision::DELETED_USER ) ) { |