Last modified: 2011-03-13 18:04:46 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 T11318, the corresponding Phabricator task for complete and up-to-date bug report information.
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