Page MenuHomePhabricator

Create a config object for each extension/skin during registration
Open, Needs TriagePublic

Description

It is possible to create a configuration object for each extension or skin during registration from their settings. It will be helpful for extensions to have an automatically generated config and that way, we'll be able to deprecate GlobalVarConfig.

Event Timeline

Change 335383 had a related patch set uploaded (by Cenarium):
Create config for each extension/skin during registration

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

They both would make it unnecessary for extensions to set ConfigRegistry, but T155154 suggests a GlobalVarConfig object while this one suggests a new LocalConfig object (see https://gerrit.wikimedia.org/r/#/c/335383/5/includes/config/LocalConfig.php) that would be based only on the extension's own settings and handle merging with local settings. Eventually, this aims to deprecate GlobalVarConfig, and do the same thing for core (achieving a separation of configs and the removal of configuration globals).

Any news here? :)

@Cenarium @Legoktm I think it is a pity that this isn't moving forward. Is there something we can do to make this happen? :)