Page MenuHomePhabricator

SettingsBuilder: consolidate with ExtensionRegistry
Open, MediumPublic

Description

The logic in ExtensionRegistry and ExtensionProcessor is very much like the logic in SettingsBuilder. Similarly, the idea and structure of settings files is very much like extension.json files.

Ideally, we should use the same mechanism for loading settings files and extension definitions. This would ensure consistent behavior and minimize code duplication.

Event Timeline

Change 740367 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/core@master] WIP: load extensions via SettingsBuilder

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

Change 745613 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/core@master] Convert extension.json to settings file format.

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

daniel triaged this task as Medium priority.Jan 26 2022, 12:11 PM

Change 769489 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/core@master] Integration test for extension registration

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

Change 769489 merged by jenkins-bot:

[mediawiki/core@master] Integration test for extension registration

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