http://www.mediawiki.org/wiki/Special:Code/MediaWiki/69025

Revision: 69025
Author:   avar
Date:     2010-07-04 22:11:14 +0000 (Sun, 04 Jul 2010)

Log Message:
-----------
LocalSettingsGenerator: Align the few assignments in the generated 
LocalSettings.php that weren't aligned

This makes the generated code prettier and easier to read.

Modified Paths:
--------------
    trunk/phase3/includes/installer/LocalSettingsGenerator.php

Modified: trunk/phase3/includes/installer/LocalSettingsGenerator.php
===================================================================
--- trunk/phase3/includes/installer/LocalSettingsGenerator.php  2010-07-04 
22:10:42 UTC (rev 69024)
+++ trunk/phase3/includes/installer/LocalSettingsGenerator.php  2010-07-04 
22:11:14 UTC (rev 69025)
@@ -191,10 +191,10 @@
 \$wgEnableUserEmail  = {$this->values['wgEnableUserEmail']}; # UPO
 
 \$wgEmergencyContact = \"{$this->values['wgEmergencyContact']}\";
-\$wgPasswordSender = \"{$this->values['wgPasswordSender']}\";
+\$wgPasswordSender   = \"{$this->values['wgPasswordSender']}\";
 
-\$wgEnotifUserTalk = {$this->values['wgEnotifUserTalk']}; # UPO
-\$wgEnotifWatchlist = {$this->values['wgEnotifWatchlist']}; # UPO
+\$wgEnotifUserTalk      = {$this->values['wgEnotifUserTalk']}; # UPO
+\$wgEnotifWatchlist     = {$this->values['wgEnotifWatchlist']}; # UPO
 \$wgEmailAuthentication = {$this->values['wgEmailAuthentication']};
 
 ## Database settings
@@ -207,12 +207,12 @@
 {$this->dbSettings}
 
 ## Shared memory settings
-\$wgMainCacheType = $cacheType;
+\$wgMainCacheType    = $cacheType;
 \$wgMemCachedServers = $mcservers;
 
 ## To enable image uploads, make sure the 'images' directory
 ## is writable, then set this to true:
-\$wgEnableUploads       = {$this->values['wgEnableUploads']};
+\$wgEnableUploads  = {$this->values['wgEnableUploads']};
 {$magic}\$wgUseImageMagick = true;
 {$magic}\$wgImageMagickConvertCommand = 
\"{$this->values['wgImageMagickConvertCommand']}\";
 
@@ -251,7 +251,7 @@
 ## License and Creative Commons licenses are supported so far.
 {$rights}\$wgEnableCreativeCommonsRdf = true;
 \$wgRightsPage = \"\"; # Set to the title of a wiki page that describes your 
license/copyright
-\$wgRightsUrl = \"{$this->values['wgRightsUrl']}\";
+\$wgRightsUrl  = \"{$this->values['wgRightsUrl']}\";
 \$wgRightsText = \"{$this->values['wgRightsText']}\";
 \$wgRightsIcon = \"{$this->values['wgRightsIcon']}\";
 # \$wgRightsCode = \"{$this->values['wgRightsCode']}\"; # Not yet used



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to