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

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptMay 17 2016, 5:21 AM
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)
Anomie claimed this task.May 17 2016, 1:36 PM

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

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

Anomie moved this task from Unsorted to Needs Review on the MediaWiki-API board.May 17 2016, 1:38 PM
Umherirrender closed this task as Resolved.May 19 2016, 6:55 PM

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

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