From: Aaron Schulz Date: Sat, 13 Sep 2008 17:56:07 +0000 (+0000) Subject: I swear this table scan filesort was disabled before. Disabling again...thanks to... X-Git-Tag: 1.31.0-rc.0~45324 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=2f7dc78c07e07ce7e9ad45287a492391a4f3363e;p=lhc%2Fweb%2Fwiklou.git I swear this table scan filesort was disabled before. Disabling again...thanks to Vyznev for pointing this out. --- 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);