Page MenuHomePhabricator

Make loading defaults from the config schema the default
Open, Needs TriagePublic

Description

Instead of loading global variabls from DefaultSettings.php, load the schema from config-schema.php. For 1.38, keep a DefaultSettings.php and use it if MW_USE_LEGACY_DEFAULT_SETTINGS is set.

Event Timeline

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

[mediawiki/core@master] Load defaults from config-schema.php.

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

Zabe renamed this task from Make loading defaults from the config schema the defaul to Make loading defaults from the config schema the default.Mar 31 2022, 5:08 PM

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

[operations/mediawiki-config@master] Always set MW_USE_CONFIG_SCHEMA.

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

Change 776164 merged by jenkins-bot:

[operations/mediawiki-config@master] Always set MW_USE_CONFIG_SCHEMA.

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

Mentioned in SAL (#wikimedia-operations) [2022-04-04T13:18:05Z] <daniel@deploy1002> Synchronized multiversion/defines.php: Config: [[gerrit:776164|Always set MW_USE_CONFIG_SCHEMA. (T305176)]] (duration: 00m 50s)

Change 775896 merged by jenkins-bot:

[mediawiki/core@master] Load defaults from config-schema.php.

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

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

[mediawiki/core@REL1_38] Load defaults from config-schema.php.

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

Change 778632 merged by jenkins-bot:

[mediawiki/core@REL1_38] Load defaults from config-schema.php.

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