X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerComplete.php;h=9f804891cba9d71b104f7ca4bd64cfb27fff25fc;hp=11a183314a0124e0a41b2d8ec745338f70480ee4;hb=a38af7ba26579bb3004f673e44d39710887763aa;hpb=2f885ee6b797e5a176ce7b270b674a04b5945b06 diff --git a/includes/installer/WebInstallerComplete.php b/includes/installer/WebInstallerComplete.php index 11a183314a..9f804891cb 100644 --- a/includes/installer/WebInstallerComplete.php +++ b/includes/installer/WebInstallerComplete.php @@ -37,13 +37,20 @@ class WebInstallerComplete extends WebInstallerPage { $this->startForm(); $this->parent->disableLinkPopups(); + $location = $this->parent->getLocalSettingsLocation(); + $msg = 'config-install-done'; + if ( $location !== false ) { + // config-install-done-path + $msg .= '-path'; + } $this->addHTML( $this->parent->getInfoBox( - wfMessage( 'config-install-done', + wfMessage( $msg, $lsUrl, $this->getVar( 'wgServer' ) . $this->getVar( 'wgScriptPath' ) . '/index.php', - '' + '', + $location ?: '' )->plain(), 'tick-32.png' ) ); @@ -52,6 +59,7 @@ class WebInstallerComplete extends WebInstallerPage { $this->parent->restoreLinkPopups(); $this->endForm( false, false ); + return ''; } }