Page MenuHomePhabricator

Migrate Setup.php to use Config instead of globals
Open, MediumPublicFeature

Description

At the architecture summit, Ori had asked us not to change any of the initialization code until after the hhvm migration, so we should wait until that happens.

General idea is that we create the main config object at the top of Setup.php and set stuff into it rather than depending upon filescope.


Version: 1.24rc
Severity: enhancement

Details

Reference
bz69338

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:34 AM
bzimport set Reference to bz69338.
bzimport added a subscriber: Unknown Object (MLST).

Ori said that hhvm shouldn't be blocking this anymore. So let's do it!

Hmm, i must ask this, maybe i'm a little bit lazy, because it's late™:
Do you mean to set configuration variables (like $wgLogo) directly in the config object (Config::set()), yes? Just to be clear :)

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:23 PM
Aklapper removed a subscriber: wikibugs-l-list.