40 if ( $this->
getVar(
'_UpgradeDone' ) ) {
42 } elseif ( $this->
getVar(
'_InstallDone' ) ) {
44 } elseif ( $this->parent->request->wasPosted() ) {
47 $results = $this->parent->performInstallation(
48 [ $this,
'startStage' ],
54 $lastStep = end( $results );
55 $continue = $lastStep->isOK() ?
'continue' :
false;
56 $back = $lastStep->isOK() ? false :
'back';
57 $this->
endForm( $continue, $back );
60 $this->
addHTML( $this->parent->getInfoBox(
wfMessage(
'config-install-begin' )->plain() ) );
76 if ( $step ==
'extension-tables' ) {
86 if ( $step ==
'extension-tables' ) {
89 $msg = $status->isOK() ?
'config-install-step-done' :
'config-install-step-failed';
91 if ( !$status->isOK() ) {
92 $html =
"<span class=\"error\">$html</span>";
94 $this->
addHTML( $html .
"</li>\n" );
95 if ( !$status->isGood() ) {
96 $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.