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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71338, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
1.24rc
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: ---


Attachments

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.


Navigation
Links