Last modified: 2014-08-09 22:40:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 69338 - Migrate Setup.php to use Config instead of globals
Migrate Setup.php to use Config instead of globals
Status: NEW
Product: MediaWiki
Classification: Unclassified
Configuration (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: config-obj
  Show dependency treegraph
Reported: 2014-08-09 13:46 UTC by Kunal Mehta (Legoktm)
Modified: 2014-08-09 22:40 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Kunal Mehta (Legoktm) 2014-08-09 13:46:15 UTC
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.
Comment 1 Kunal Mehta (Legoktm) 2014-08-09 22:03:24 UTC
Ori said that hhvm shouldn't be blocking this anymore. So let's do it!
Comment 2 Florian 2014-08-09 22:40:37 UTC
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 :)

Note You need to log in before you can comment on or make changes to this bug.