From 2f7dc78c07e07ce7e9ad45287a492391a4f3363e Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 13 Sep 2008 17:56:07 +0000 Subject: [PATCH] I swear this table scan filesort was disabled before. Disabling again...thanks to Vyznev for pointing this out. --- includes/api/ApiQueryDeletedrevs.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/api/ApiQueryDeletedrevs.php b/includes/api/ApiQueryDeletedrevs.php index 0d434e70a6..fcb80d52df 100644 --- a/includes/api/ApiQueryDeletedrevs.php +++ b/includes/api/ApiQueryDeletedrevs.php @@ -107,6 +107,8 @@ class ApiQueryDeletedrevs extends ApiQueryBase { $lb = new LinkBatch($titles); $where = $lb->constructSet('ar', $db); $this->addWhere($where); + } else { + $this->dieUsage('You have to specify a page title or titles'); } $this->addOption('LIMIT', $limit + 1); -- 2.20.1