29 $lsPath = $this->parent->getUrl( [
'localsettings' => 1 ] );
30 $lsUrl = $this->parent->getDefaultServer() . $lsPath;
31 $this->parent->request->response()->header(
"Refresh: 0;url=$lsPath" );
33 $this->parent->disableLinkPopups();
34 $location = $this->parent->getLocalSettingsLocation();
35 $msg =
'config-install-done';
36 if ( $location !==
false ) {
37 $msg =
'config-install-done-path';
39 $this->parent->showSuccess( $msg,
41 $this->
getVar(
'wgServer' ) .
42 $this->
getVar(
'wgScriptPath' ) .
'/index.php',
43 "[$lsUrl " .
wfMessage(
'config-download-localsettings' )->plain() .
']',
46 $this->
addHTML( $this->parent->getInfoBox(
47 wfMessage(
'config-extension-link' )->plain() ) );
49 $this->parent->restoreLinkPopups();