As we do on SpecialRecentchanges and SpecialWatchlist already,
because the last revision filter needs it.
Bug: T176228
Change-Id: I65f0f971df24853999ca445f968dd49fb0640066
'wl_namespace=rc_namespace'
] ];
}
- if ( $this->getUser()->isAllowed( 'rollback' ) ) {
- $tables[] = 'page';
- $join_conds['page'] = [ 'LEFT JOIN', 'rc_cur_id=page_id' ];
- $select[] = 'page_latest';
- }
+
+ // JOIN on page, used for 'last revision' filter highlight
+ $tables[] = 'page';
+ $join_conds['page'] = [ 'LEFT JOIN', 'rc_cur_id=page_id' ];
+ $select[] = 'page_latest';
$tagFilter = $opts['tagfilter'] ? explode( '|', $opts['tagfilter'] ) : [];
ChangeTags::modifyDisplayQuery(