Index: trunk/phase3/includes/specials/SpecialRecentchangeslinked.php |
— | — | @@ -84,6 +84,11 @@ |
85 | 85 | $select[] = 'wl_user'; |
86 | 86 | $join_conds['watchlist'] = array( 'LEFT JOIN', "wl_user={$uid} AND wl_title=rc_title AND wl_namespace=rc_namespace" ); |
87 | 87 | } |
| 88 | + if ( $wgUser->isAllowed( 'rollback' ) ) { |
| 89 | + $tables[] = 'page'; |
| 90 | + $join_conds['page'] = array('LEFT JOIN', 'rc_cur_id=page_id'); |
| 91 | + $select[] = 'page_latest'; |
| 92 | + } |
88 | 93 | |
89 | 94 | ChangeTags::modifyDisplayQuery( $tables, $select, $conds, $join_conds, |
90 | 95 | $query_options, $opts['tagfilter'] ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -404,6 +404,8 @@ |
405 | 405 | * (bug 19289) importDump.php can now handle bzip2 and 7zip |
406 | 406 | * (bug 20103) Add after the link for "My Talk" a info with the number of the |
407 | 407 | new messages for the user |
| 408 | +* (bug 20131) Fixed a PHP notice for users having the "rollback" right on |
| 409 | + Special:RecentChangesLinked |
408 | 410 | |
409 | 411 | == API changes in 1.16 == |
410 | 412 | |