Page MenuHomePhabricator

Set merge strategies for wgAddGroups and wgRemoveGroups
Open, Needs TriagePublic

Description

The merge strategy determines how the extension.json system combines multiple array values (e.g. from LocalSettings.php(-equivalent) and extension(s)).

Event Timeline

Reedy raised the priority of this task from to Needs Triage.
Reedy updated the task description. (Show Details)
Reedy added a project: MediaWiki-Configuration.
Reedy added subscribers: Reedy, Legoktm.

So...this one is weird because there are two different ways this can be done:

$wgAddGroups['bureaucrat'] = true;
$wgAddGroups['bureaucrat'] = array( 'sysop', 'bot' );

and I'm not sure how we should be merging these...

A task description would be helpful to understand the issue :-)

A task description would be helpful to understand the issue :-)

The merge strategy determines how the extension.json system combines multiple array values (e.g. from LocalSettings.php(-equivalent) and extension(s)).

See Manual:Extension.json/Schema#Merge_strategies.