revert 15898, broke the wiki
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 3 Aug 2006 03:09:05 +0000 (03:09 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 3 Aug 2006 03:09:05 +0000 (03:09 +0000)
includes/SpecialRecentchangeslinked.php

index 3f472e6..2a611c4 100644 (file)
@@ -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 "<br/>\n" ;
 
                $rc = RecentChange::newFromRow( $obj );
                $rc->counter = $counter++;