35 if ( $this->getVar(
'_UpgradeDone' ) ) {
37 } elseif ( $this->getVar(
'_InstallDone' ) ) {
39 } elseif ( $this->parent->request->wasPosted() ) {
41 $this->addHTML(
"<ul>" );
42 $results = $this->parent->performInstallation(
43 [ $this,
'startStage' ],
46 $this->addHTML(
"</ul>" );
49 $lastStep = end( $results );
50 $continue = $lastStep->isOK() ?
'continue' :
false;
51 $back = $lastStep->isOK() ? false :
'back';
52 $this->endForm( $continue, $back );
55 $this->addHTML( $this->parent->getInfoBox(
wfMessage(
'config-install-begin' )->plain() ) );
68 $this->addHTML(
"<li>" .
wfMessage(
"config-install-$step" )->escaped() .
71 if ( $step ==
'extension-tables' ) {
72 $this->startLiveBox();
81 if ( $step ==
'extension-tables' ) {
84 $msg =
$status->isOK() ?
'config-install-step-done' :
'config-install-step-failed';
87 $html =
"<span class=\"error\">$html</span>";
89 $this->addHTML( $html .
"</li>\n" );
91 $this->parent->showStatusBox(
$status );