Index: trunk/phase3/includes/specials/SpecialWatchlist.php |
— | — | @@ -214,9 +214,12 @@ |
215 | 215 | if( $andHidePatrolled ) $conds[] = $andHidePatrolled; |
216 | 216 | if( $nameSpaceClause ) $conds[] = $nameSpaceClause; |
217 | 217 | |
218 | | - if ( $usePage ) { |
| 218 | + $rollbacker = $wgUser->isAllowed('rollback'); |
| 219 | + if ( $usePage || $rollbacker ) { |
219 | 220 | $tables[] = 'page'; |
220 | 221 | $join_conds['page'] = array('LEFT JOIN','rc_cur_id=page_id'); |
| 222 | + if ($rollbacker) |
| 223 | + $fields[] = 'page_latest'; |
221 | 224 | } |
222 | 225 | |
223 | 226 | ChangeTags::modifyDisplayQuery( $tables, $fields, $conds, $join_conds, '' ); |