Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F5685
relatedchanges.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:36 PM
2014-11-21 22:36:53 (UTC+0)
Size
705 B
Referenced Files
None
Subscribers
None
relatedchanges.patch
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5235
Default Alt Text
relatedchanges.patch (705 B)
Attached To
Mode
T20251: "Changes related" has no rollback link
Attached
Detach File
Event Timeline
Log In to Comment