From 2a7e63c972adaa9defb8207e09f8559bcab57ef5 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 3 Aug 2006 03:09:05 +0000 Subject: [PATCH] revert 15898, broke the wiki --- includes/SpecialRecentchangeslinked.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/SpecialRecentchangeslinked.php b/includes/SpecialRecentchangeslinked.php index 3f472e64ed..2a611c4d18 100644 --- a/includes/SpecialRecentchangeslinked.php +++ b/includes/SpecialRecentchangeslinked.php @@ -99,7 +99,7 @@ function wfSpecialRecentchangeslinked( $par = NULL ) { AND cl_to=$catkey GROUP BY rc_cur_id,rc_namespace,rc_title, rc_user,rc_comment,rc_user_text,rc_timestamp,rc_minor, - rc_new, rc_id, rc_this_oldid, rc_last_oldid, rc_bot, rc_patrolled, rc_type, wl_user + rc_new ORDER BY rc_timestamp DESC LIMIT {$limit}; "; @@ -131,7 +131,7 @@ function wfSpecialRecentchangeslinked( $par = NULL ) { AND pl_from=$id GROUP BY rc_cur_id,rc_namespace,rc_title, rc_user,rc_comment,rc_user_text,rc_timestamp,rc_minor, - rc_new, rc_id, rc_this_oldid, rc_last_oldid, rc_bot, rc_patrolled, rc_type, wl_user + rc_new ORDER BY rc_timestamp DESC LIMIT {$limit}"; } @@ -156,6 +156,8 @@ ORDER BY rc_timestamp DESC if ( 0 == $count ) { break; } $obj = $dbr->fetchObject( $res ); --$count; +# print_r ( $obj ) ; +# print "
\n" ; $rc = RecentChange::newFromRow( $obj ); $rc->counter = $counter++; -- 2.20.1