Add batch lookup for user groups on Special:ListUsers
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 7 Nov 2014 16:28:56 +0000 (17:28 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 20 Dec 2014 09:33:56 +0000 (10:33 +0100)
commit8a57b865a216360a55f5f96e098aae7715fd9580
treec303e0fc7df3db959adef9ba52cbf8d3afc8a99b
parentc3704788f97ad34911dea35c92cfe7d05cce6e0a
Add batch lookup for user groups on Special:ListUsers

At the moment for each user on the list a new user object is created and
than the getGroups method is called, which fully init the user object,
which is done in 3 queries (user table, user_properties and
user_groups).
Removed the user object with one query for all the userids and cache the
result.

Also added the group page to the LinkBatch, because now the necessary
pages can be determined easily.

Change-Id: I4a945f83ad28edf5cc040139943cf743cb3d133c
includes/specials/SpecialListusers.php