Special:Recentchangeslinked now also selects the 'page_latest' field for users having the 'rollback' right, as Special:Recentchanges does
* (bug 19289) importDump.php can now handle bzip2 and 7zip
* (bug 20103) Add after the link for "My Talk" a info with the number of the
new messages for the user
+* (bug 20131) Fixed a PHP notice for users having the "rollback" right on
+ Special:RecentChangesLinked
== API changes in 1.16 ==
$select[] = 'wl_user';
$join_conds['watchlist'] = array( 'LEFT JOIN', "wl_user={$uid} AND wl_title=rc_title AND wl_namespace=rc_namespace" );
}
+ if ( $wgUser->isAllowed( 'rollback' ) ) {
+ $tables[] = 'page';
+ $join_conds['page'] = array('LEFT JOIN', 'rc_cur_id=page_id');
+ $select[] = 'page_latest';
+ }
ChangeTags::modifyDisplayQuery( $tables, $select, $conds, $join_conds,
$query_options, $opts['tagfilter'] );