Page MenuHomePhabricator

relatedchanges.patch

Authored By
bzimport
Nov 21 2014, 10:36 PM
Size
705 B
Referenced Files
None
Subscribers
None

relatedchanges.patch

Index: includes/specials/SpecialRecentchangeslinked.php
===================================================================
--- includes/specials/SpecialRecentchangeslinked.php (revision 49405)
+++ includes/specials/SpecialRecentchangeslinked.php (working copy)
@@ -85,6 +85,12 @@
$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';
+ $select[] = 'page_latest';
+ $join_conds['page'] = array( 'LEFT JOIN', 'rc_cur_id=page_id' );
+ }
+
ChangeTags::modifyDisplayQuery( $tables, $select, $conds, $join_conds,
$query_options, $opts['tagfilter'] );

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5235
Default Alt Text
relatedchanges.patch (705 B)

Event Timeline