Page MenuHomePhabricator

SettingsLoader: Add YAML support
Closed, ResolvedPublic

Description

SettingsLoader should support YAML, since YAML is more convenient for manual editing. JSON files should be detected based on file extension and should use the stricter and faster JSON parser.

This is primarily intended for 3rd party installations and development setups, as an alternative to LocalSettings.php. YAML files should however not be used in WMF production. JSON files should instead be generated from YAML (or PHP code) during the deployment process.

Event Timeline

Change 739953 had a related patch set uploaded (by Ppchelko; author: Ppchelko):

[mediawiki/core@master] SettingsBuilder: Add YAML file format.

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

Change 739953 merged by jenkins-bot:

[mediawiki/core@master] SettingsBuilder: Add YAML file format.

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

Aklapper added a subscriber: Pchelolo.

Removing inactive assignee (Platform Engineering: Please unassign tasks of previous team members.)

Please resolve resolved tickets.