Make Special:MIMESearch non-expensive, again
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 28 Sep 2016 19:08:04 +0000 (21:08 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 28 Sep 2016 19:08:04 +0000 (21:08 +0200)
commit931bb0b5a81aee90061912509ecd5d4c479ddb6d
treec03d31490680b1ff65e82a8de812cc2f66a54332
parent3649eb7db23edd9a9fa302994e9e916c59288dab
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
includes/specials/SpecialMIMEsearch.php