16 $lsPath = $this->parent->getUrl( [
'localsettings' => 1 ] );
17 $lsUrl = $this->parent->getDefaultServer() . $lsPath;
18 $this->parent->request->response()->header(
"Refresh: 0;url=$lsPath" );
20 $this->parent->disableLinkPopups();
21 $location = $this->parent->getLocalSettingsLocation();
22 $msg =
'config-install-done';
23 if ( $location !==
false ) {
24 $msg =
'config-install-done-path';
26 $this->parent->showSuccess( $msg,
28 $this->
getVar(
'wgServer' ) .
29 $this->
getVar(
'wgScriptPath' ) .
'/index.php',
30 "[$lsUrl " .
wfMessage(
'config-download-localsettings' )->plain() .
']',
33 $this->
addHTML( $this->parent->getInfoBox(
34 wfMessage(
'config-extension-link' )->plain() ) );
36 $this->parent->restoreLinkPopups();