* (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 26 Apr 2007 17:55:45 +0000 (17:55 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 26 Apr 2007 17:55:45 +0000 (17:55 +0000)
  converted from 1.4 to 1.5 schema

RELEASE-NOTES
maintenance/rebuildrecentchanges.inc

index 7b58787..cd05e1e 100644 (file)
@@ -352,6 +352,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   up $wgCookiePrefix. Completes application of patch by Anders Kaseorg.
 * (bug 9649) Fix RTL form alignment for Special:Movepage
 * (bug 9582) Members of bot group now mark edits patrolled by default
+* (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since
+  converted from 1.4 to 1.5 schema
 
 
 == Maintenance ==
index d34c6e3..9f1abf1 100644 (file)
@@ -40,7 +40,7 @@ function rebuildRecentChangesTablePass1()
                        'rev_page=page_id'
                ), $fname,
                array(), // INSERT options
-               array( 'ORDER BY' => 'rev_timestamp', 'LIMIT' => 5000 ) // SELECT options
+               array( 'ORDER BY' => 'rev_timestamp DESC', 'LIMIT' => 5000 ) // SELECT options
        );
 }