From: Ævar Arnfjörð Bjarmason Date: Sun, 4 Jul 2010 22:11:14 +0000 (+0000) Subject: LocalSettingsGenerator: Align the few assignments in the generated LocalSettings... X-Git-Tag: 1.31.0-rc.0~36261 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=dfb76037efa72d0225415eb7e055567e47f47e17;p=lhc%2Fweb%2Fwiklou.git LocalSettingsGenerator: Align the few assignments in the generated LocalSettings.php that weren't aligned This makes the generated code prettier and easier to read. --- diff --git a/includes/installer/LocalSettingsGenerator.php b/includes/installer/LocalSettingsGenerator.php index ca3ccf38f9..241da58475 100644 --- a/includes/installer/LocalSettingsGenerator.php +++ b/includes/installer/LocalSettingsGenerator.php @@ -191,10 +191,10 @@ if ( \$wgCommandLineMode ) { \$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 @@ if ( \$wgCommandLineMode ) { {$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 @@ if ( \$wgCommandLineMode ) { ## 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