Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -571,7 +571,8 @@ |
572 | 572 | $fields = array( |
573 | 573 | 'page_namespace', 'page_title', 'page_is_new', 'page_latest', 'page_is_redirect', |
574 | 574 | 'page_len','rev_id', 'rev_page', 'rev_text_id', 'rev_timestamp', 'rev_comment', |
575 | | - 'rev_minor_edit', 'rev_user', 'rev_user_text', 'rev_parent_id', 'rev_deleted' |
| 575 | + 'rev_minor_edit', 'rev_user', 'rev_user_text', 'rev_parent_id', 'rev_deleted', |
| 576 | + 'rev_len' |
576 | 577 | ); |
577 | 578 | if ( $this->showSizeDiff && !$wgMiserMode ) { |
578 | 579 | $fields = array_merge( $fields, array( 'rc_old_len', 'rc_new_len' ) ); |
— | — | @@ -761,7 +762,7 @@ |
762 | 763 | $diffHistLinks = '(' . $difftext . $this->messages['pipe-separator'] . $histlink . ')'; |
763 | 764 | |
764 | 765 | |
765 | | - $diffOut = ( $this->showSizeDiff ) ? ' . . '.ChangesList::showCharacterDifference( $row->rc_old_len, $row->rc_new_len ) : ''; |
| 766 | + $diffOut = ( $this->showSizeDiff ) ? ' . . '.ChangesList::showCharacterDifference( $row->rc_old_len, $row->rc_new_len ) : ' . . '.Linker::formatRevisionSize( $row->rev_len ); |
766 | 767 | |
767 | 768 | $ret = "{$del}{$d} {$diffHistLinks} {$nflag}{$mflag} {$link}{$diffOut}{$userlink} {$comment} {$topmarktext}"; |
768 | 769 | |