SpecialWatchlist: Always apply a LIMIT
authorRoan Kattouw <roan.kattouw@gmail.com>
Fri, 4 Aug 2017 23:42:46 +0000 (16:42 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Fri, 4 Aug 2017 23:45:21 +0000 (16:45 -0700)
commita67c0252e315d2f46f2fc147f5a3804bb119b2e2
tree5cb68cb1ccc4a6817aa188873758153fffb19ee6
parentc2d427d370e22160a78c5052a2a39d7f51519af5
SpecialWatchlist: Always apply a LIMIT

In non-extended mode, the query that SpecialWatchlist ran
was unlimited, which is a very bad idea, since some users
have tens of thousands of pages on their watchlist.
There are broader performance issues with large watchlists,
but this doesn't help.

With this patch the wllimit preference is used to limit
the number of results both in expanded and in non-expanded mode.

Bug: T171027
Change-Id: Ifcefe6f77fa4adeca2e50714813004018819aee8
includes/specials/SpecialWatchlist.php
languages/i18n/en.json