X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FCliInstaller.php;h=d4e19f6074f436c5c614ae05f4a7269dac3629ef;hb=b2e2b2e0163aaadbb4fdf6ce19dfe1f884644a1e;hp=38b4a82481f787130a1ea22707726f3af87cda23;hpb=76ef1f726855328d0eee23e0a977160c680a0580;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/CliInstaller.php b/includes/installer/CliInstaller.php index 38b4a82481..d4e19f6074 100644 --- a/includes/installer/CliInstaller.php +++ b/includes/installer/CliInstaller.php @@ -114,7 +114,7 @@ class CliInstaller extends Installer { */ public function execute() { $vars = Installer::getExistingLocalSettings(); - if( $vars ) { + if ( $vars ) { $this->showStatusMessage( Status::newFatal( "config-localsettings-cli-upgrade" ) ); @@ -129,7 +129,7 @@ class CliInstaller extends Installer { /** * Write LocalSettings.php to a given path * - * @param $path String Full path to write LocalSettings.php to + * @param string $path Full path to write LocalSettings.php to */ public function writeConfigurationFile( $path ) { $ls = InstallerOverrides::getLocalSettingsGenerator( $this ); @@ -137,6 +137,9 @@ class CliInstaller extends Installer { } public function startStage( $step ) { + // Give grep a chance to find the usages: config-install-database, config-install-tables, + // config-install-interwiki, config-install-stats, config-install-keys, config-install-sysop, + // config-install-mainpage $this->showMessage( "config-install-$step" ); } @@ -191,9 +194,9 @@ class CliInstaller extends Installer { } } - public function envCheckPath( ) { + public function envCheckPath() { if ( !$this->specifiedScriptPath ) { - $this->showMessage( 'config-no-cli-uri', $this->getVar("wgScriptPath") ); + $this->showMessage( 'config-no-cli-uri', $this->getVar( "wgScriptPath" ) ); } return parent::envCheckPath(); }