Last modified: 2011-03-13 18:04:46 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 9318 - Default settings should not be put in LocalSettings.php on setup
Default settings should not be put in LocalSettings.php on setup
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
unspecified
All All
: Lowest trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-17 15:42 UTC by Robert Leverington
Modified: 2011-03-13 18:04 UTC (History)
0 users

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


Attachments

Description Robert Leverington 2007-03-17 15:42:16 UTC
When setting up MediaWiki 1.9.3 the following values were put in
LocalSettings.php however they were identical to the defaults:
* $wgEnableEmail
* $wgEnableUserEmail
* $wgEmailAuthentication
* $wgDBserver
* $wgDBtype
* $wgDBprefix
* $wgDBmysql5
* $wgMainCacheType
* $wgEnableUploads
* $wgUseTeX
* $wgLanguageCode
* $wgDefaultSkin
* $wgRightsPage (not identical, however similar "" and NULL)
* $wgRightsUrl (not identical, however similar "" and NULL)
* $wgRightsText (not identical, however similar "" and NULL)
* $wgRightsIcon (not identical, however similar "" and NULL)

Having so many useless values makes LocalSettings.php difficult to read and
harder to maintain. Although in some cases it may be useful to have comments
these could be moved to a seperate text file to make reading even easier.
Comment 1 Rob Church 2007-03-17 16:39:59 UTC
These aren't useless; most of them are settings which people will want to change
out of the box. Having details about the database connection explicitly repeated
in LocalSettings.php is useful for debugging.

It's all about convenience. We aren't repeating the entire DefaultSettings.php
file, we're repeating a small subset which are useful to have in
LocalSettings.php when it comes to changing them.

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


Navigation
Links