From: Brion Vibber Date: Thu, 26 Apr 2007 17:55:45 +0000 (+0000) Subject: * (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since X-Git-Tag: 1.31.0-rc.0~53219 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=87a766cc31b89c489daf625d54fe3016442c3978;p=lhc%2Fweb%2Fwiklou.git * (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since converted from 1.4 to 1.5 schema --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7b58787058..cd05e1edb2 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/maintenance/rebuildrecentchanges.inc b/maintenance/rebuildrecentchanges.inc index d34c6e3722..9f1abf1bcf 100644 --- a/maintenance/rebuildrecentchanges.inc +++ b/maintenance/rebuildrecentchanges.inc @@ -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 ); }