Page MenuHomePhabricator

ApiQuerySiteInfo does not support `$wgAddGroups['group'] = true`
Closed, ResolvedPublic

Description

It seems ApiQuerySiteInfo with siprop=usergroups does not support the group permissions documented in DefaultSettings.php where one can do $wgAddGroups['bureaucrat'] = true;.

ApiQuerySiteInfo: Warning: array_intersect() expects parameter 1 to be an array or collection on line 512

Event Timeline

Anomie renamed this task from ApiQuerySiteInfo: Warning: array_intersect() expects parameter 1 to be an array or collection on line 512 to ApiQuerySiteInfo does not support `$wgAddGroups['group'] = true`.May 17 2016, 1:30 PM
Anomie updated the task description. (Show Details)

Change 289203 had a related patch set uploaded (by Anomie):
API: Handle shorthand "all groups" configuration in ApiQuerySiteInfo

https://gerrit.wikimedia.org/r/289203

Change 289203 merged by jenkins-bot:
API: Handle shorthand "all groups" configuration in ApiQuerySiteInfo

https://gerrit.wikimedia.org/r/289203