41 if ( $this->
getVar(
'_UpgradeDone' ) ) {
43 } elseif ( $this->
getVar(
'_InstallDone' ) ) {
45 } elseif ( $this->parent->request->wasPosted() ) {
48 $status = $this->parent->performInstallation(
49 [ $this,
'startStage' ],
53 $continue = $status->isOK() ?
'continue' :
false;
54 $back = $status->isOK() ? false :
'back';
55 $this->
endForm( $continue, $back );
58 $this->
addHTML( $this->parent->getInfoBox(
wfMessage(
'config-install-begin' )->plain() ) );
69 $this->
addHTML(
"<li>" . $task->getDescriptionMessage()->escaped() .
72 if ( $task->getName() ==
'extension-tables' ) {
82 if ( $task->getName() ==
'extension-tables' ) {
85 $msg = $status->isOK() ?
'config-install-step-done' :
'config-install-step-failed';
87 if ( !$status->isOK() ) {
88 $html =
"<span class=\"error\">$html</span>";
90 $this->
addHTML( $html .
"</li>\n" );
91 if ( !$status->isGood() ) {
92 $this->parent->showStatusBox( $status );
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Abstract class to define pages for the web installer.
endForm( $continue='continue', $back='back')
getVar( $var, $default=null)
startLiveBox()
Opens a textarea used to display the progress of a long operation.
endLiveBox()
Opposite to WebInstallerPage::startLiveBox.