API: Handle shorthand "all groups" configuration in ApiQuerySiteInfo
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 17 May 2016 13:35:10 +0000 (09:35 -0400)
committerUmherirrender <umherirrender_de.wp@web.de>
Thu, 19 May 2016 18:53:57 +0000 (18:53 +0000)
commita932d0c42954f1bc29efae6683fd198aeef70f08
treeb32449309f7a559f630163f60a9e5a34d3df01b3
parentc9bef3d160724e84b9c876615cceddffadef73bc
API: Handle shorthand "all groups" configuration in ApiQuerySiteInfo

In $wgAddGroups, $wgRemoveGroups, $wgGroupsAddToSelf, and
$wgGroupsRemoveFromSelf, boolean true in place of an array of groups to
allow adding/removing is shorthand for "all groups". Handle this
appropriately in action=query&meta=siteinfo&siprop=usergroups.

Bug: T135467
Change-Id: I6ae61ef14ac7932e3369155c56bad60a9d72060d
includes/api/ApiQuerySiteinfo.php