27 if ( $this->
getVar(
'_UpgradeDone' ) ) {
29 } elseif ( $this->
getVar(
'_InstallDone' ) ) {
31 } elseif ( $this->parent->request->wasPosted() ) {
34 $status = $this->parent->performInstallation(
39 $continue = $status->isOK() ?
'continue' :
false;
40 $back = $status->isOK() ? false :
'back';
41 $this->
endForm( $continue, $back );
44 $this->
addHTML( $this->parent->getInfoBox(
wfMessage(
'config-install-begin' )->plain() ) );
55 $this->
addHTML(
"<li>" . $task->getDescriptionMessage()->escaped() .
58 if ( $task->getName() ==
'extension-tables' ) {
68 if ( $task->getName() ==
'extension-tables' ) {
71 $msg = $status->isOK() ?
'config-install-step-done' :
'config-install-step-failed';
73 if ( !$status->isOK() ) {
74 $html =
"<span class=\"error\">$html</span>";
76 $this->
addHTML( $html .
"</li>\n" );
77 if ( !$status->isGood() ) {
78 $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.