Page MenuHomePhabricator

Allow LocalSettings.php to be loaded in a function scope
Closed, ResolvedPublic

Description

Mid-term, we wantr to move away from loading config variables in global scope. For the 1.38 release, we should include an experimental mode that allows 3rd party installations to try out loading their LocalSettings.php file to be loaded in function scope instead of global scope.

Event Timeline

daniel triaged this task as High priority.Mar 18 2022, 6:08 PM
daniel added a project: MW-1.38-release.

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

[mediawiki/core@master] Allow LocalSettings.php to be loaded in function scope.

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

Change 764849 merged by jenkins-bot:

[mediawiki/core@master] Allow LocalSettings.php to be loaded in function scope.

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

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

[mediawiki/core@REL1_38] Allow LocalSettings.php to be loaded in function scope.

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

Change 774826 merged by jenkins-bot:

[mediawiki/core@REL1_38] Allow LocalSettings.php to be loaded in function scope.

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