Deprecate Parser implementation methods (will be private in next release)
[lhc/web/wiklou.git] / includes / installer / WebInstallerComplete.php
index 11a1833..2512efa 100644 (file)
@@ -37,21 +37,29 @@ 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',
+                               new HtmlArmor( wfMessage( $msg,
                                        $lsUrl,
                                        $this->getVar( 'wgServer' ) .
-                                       $this->getVar( 'wgScriptPath' ) . '/index.php',
-                                       '<downloadlink/>'
-                               )->plain(), 'tick-32.png'
+                                               $this->getVar( 'wgScriptPath' ) . '/index.php',
+                                       Message::rawParam( $this->parent->makeDownloadLinkHtml() ),
+                                       $location ?: ''
+                               )->parse() ), 'tick-32.png'
                        )
                );
                $this->addHTML( $this->parent->getInfoBox(
-                       wfMessage( 'config-extension-link' )->text() ) );
+                       wfMessage( 'config-extension-link' )->plain() ) );
 
                $this->parent->restoreLinkPopups();
                $this->endForm( false, false );
+               return '';
        }
 
 }