+ $fields = array(
+ 'page_namespace', 'page_title', 'page_is_new', 'page_latest', 'page_is_redirect',
+ 'page_len','rev_id', 'rev_page', 'rev_text_id', 'rev_timestamp', 'rev_comment',
+ 'rev_minor_edit', 'rev_user', 'rev_user_text', 'rev_parent_id', 'rev_deleted',
+ 'rev_len'
+ );
+ if ( $this->showSizeDiff && !$wgMiserMode ) {
+ $fields = array_merge( $fields, array( 'rc_old_len', 'rc_new_len' ) );
+ array_unshift( $tables, 'recentchanges' );
+ $join_cond['recentchanges'] = array( 'INNER JOIN', "rev_id = rc_this_oldid" );
+ }
+