Page MenuHomePhabricator

Allow LocalSettings.json to be used instead of LocalSettings.php
Closed, ResolvedPublic

Description

MediaWiki should allow settings to be loaded from LocalSettings.json or LocalSettings.yaml, without the need to have a LocalSettings.php file.

NOTE: this is part of prototyping a solution for T292402

Event Timeline

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

[mediawiki/core@master] Allow $wgSettings to be used in LocalSettings.

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

daniel renamed this task from Make LocalSettings.php optional to Allow LocalSettings.json to be used instead of LocalSettings.php.Nov 16 2021, 6:23 PM

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

[mediawiki/core@master] Add support for LocalSettings.json

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

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

Change 739312 merged by jenkins-bot:

[mediawiki/core@master] Allow main settings file to be selected via env variable.

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

daniel moved this task from Doing to Done on the MediaWiki-SettingsBuilder board.