From: Bartosz DziewoƄski Date: Wed, 28 Sep 2016 19:08:04 +0000 (+0200) Subject: Make Special:MIMESearch non-expensive, again X-Git-Tag: 1.31.0-rc.0~5207^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22brouteur%22%2C%28%24id_rubrique%20?a=commitdiff_plain;h=931bb0b5a81aee90061912509ecd5d4c479ddb6d;p=lhc%2Fweb%2Fwiklou.git Make Special:MIMESearch non-expensive, again The queries here are using a good-enough index and are not expensive (since 3342fafb), taking a second or two at most on Wikimedia Commons. However, they use inefficient offset+limit paging, which caused the issues described in T107265 and resulted in the page being marked as expensive again in 77014c76. But since we limited offset to 10000 in e33d6f45, this should be fine to enable again. Bug: T107265 Change-Id: I65ec541dd32f1e23488f5d5e1886332af2a55744 --- diff --git a/includes/specials/SpecialMIMEsearch.php b/includes/specials/SpecialMIMEsearch.php index e3be225fc0..6093f83947 100644 --- a/includes/specials/SpecialMIMEsearch.php +++ b/includes/specials/SpecialMIMEsearch.php @@ -35,7 +35,7 @@ class MIMEsearchPage extends QueryPage { } public function isExpensive() { - return true; + return false; } function isSyndicated() {