Add 2 new select-clause columns to groupby clause.
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Fri, 12 Jan 2007 19:30:12 +0000 (19:30 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Fri, 12 Jan 2007 19:30:12 +0000 (19:30 +0000)
includes/SpecialRecentchangeslinked.php

index 2214576..1529289 100644 (file)
@@ -73,7 +73,7 @@ function wfSpecialRecentchangeslinked( $par = NULL ) {
        $GROUPBY = "
        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
+               rc_new, rc_id, rc_this_oldid, rc_last_oldid, rc_bot, rc_patrolled, rc_type, rc_old_len, rc_new_len
 " . ($uid ? ",wl_user" : "") . "
                ORDER BY rc_timestamp DESC
        LIMIT {$limit}";