From 5c5e7d674d95f8bbeb734d6194403bd5c04b5b97 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 24 Oct 2009 11:50:10 +0000 Subject: [PATCH] * (bug 21085) list=deletedrevs no longer returns only one revision when drcontinue param is passed --- RELEASE-NOTES | 2 ++ includes/api/ApiQueryDeletedrevs.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index e0c6e40570..4aba3cecab 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -651,6 +651,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN customized messages * Don't parse magic words in meta=allmessages, output messages unparsed * (bug 21105) list=usercontribs can now list contribs for User:0 +* (bug 21085) list=deletedrevs no longer returns only one revision when + drcontinue param is passed === Languages updated in 1.16 === diff --git a/includes/api/ApiQueryDeletedrevs.php b/includes/api/ApiQueryDeletedrevs.php index 9da080ae3d..cb860245fc 100644 --- a/includes/api/ApiQueryDeletedrevs.php +++ b/includes/api/ApiQueryDeletedrevs.php @@ -152,7 +152,7 @@ class ApiQueryDeletedrevs extends ApiQueryBase { "(ar_namespace = $ns AND " . "(ar_title $op '$title' OR " . "(ar_title = '$title' AND " . - "ar_timestamp = '$ts')))"); + "ar_timestamp $op= '$ts')))"); } $this->addOption('LIMIT', $limit + 1); -- 2.20.1