From 26c16cb4554cef047d090f3bdfbba6b738806bc5 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Wed, 13 Dec 2006 20:28:17 +0000 Subject: [PATCH] Fix #8239 : really get the 50 next contribs --- RELEASE-NOTES | 1 + includes/SpecialContributions.php | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 49605bfcd3..1d104d1052 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -303,6 +303,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN to avoid accidental empty password creations. * Made the show change size function work on page moves, page creations, and log entries. Also fixed it in the javascript recentchanges. +* (bug 8239) correctly get 50 new contributions when clicking '(50 next)' == Languages updated == diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 5fd821b5c3..82a8c28eef 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -121,7 +121,6 @@ class ContribsFinder { } /** - * @bug 8239 * @return Timestamp of first entry in next page. */ function getFirstOffsetForPaging() { @@ -155,7 +154,7 @@ class ContribsFinder { list( $index, $userCond ) = $this->getUserCond(); if ( $this->offset ) - $offsetQuery = "AND rev_timestamp <= '{$this->offset}'"; + $offsetQuery = "AND rev_timestamp < '{$this->offset}'"; $nscond = $this->getNamespaceCond(); $use_index = $this->dbr->useIndexClause( $index ); -- 2.20.1