against the previous revision, whether currently deleted or live.
* Added tooltips for the "Go" and "Search" buttons
* (bug 11649) Show input form when Special:Whatlinkshere has no parameters
+* Show changes to pages linked to via a redirect on Special:Recentchangeslinked
=== Bug fixes in 1.12 ===
$cmq = 'AND rc_minor=0';
} else { $cmq = ''; }
- list($recentchanges, $categorylinks, $pagelinks, $watchlist) =
- $dbr->tableNamesN( 'recentchanges', 'categorylinks', 'pagelinks', "watchlist" );
+ list($recentchanges, $categorylinks, $pagelinks, $watchlist, $redirect, $page) =
+ $dbr->tableNamesN( 'recentchanges', 'categorylinks', 'pagelinks', "watchlist", "redirect", "page" );
$uid = $wgUser->getID();
rc_new_len,
rc_deleted
" . ($uid ? ",wl_user" : "") . "
- FROM $pagelinks, $recentchanges
+ FROM $pagelinks, $recentchanges, $redirect, $page
" . ($uid ? " LEFT OUTER JOIN $watchlist ON wl_user={$uid} AND wl_title=rc_title AND wl_namespace=rc_namespace " : "") . "
WHERE rc_timestamp > '{$cutoff}'
{$cmq}
- AND pl_namespace=rc_namespace
+ AND (pl_namespace=rc_namespace
AND pl_title=rc_title
- AND pl_from=$id
+ AND pl_from=$id)
+ OR (rd_namespace=rc_namespace
+ AND rd_title=rc_title
+ AND rd_from=page_id
+ AND page_namespace=pl_namespace
+ AND page_title=pl_title
+ AND pl_from=$id)
$GROUPBY
";
}