23 if ( $this->
getVar(
'_UpgradeDone' ) ) {
27 if ( $this->parent->request->wasPosted() && !$this->getVar(
'_ExistingDBSettings' ) ) {
39 if ( !$this->parent->needsUpgrade() ) {
43 if ( $this->parent->request->wasPosted() ) {
45 $result = $this->parent->doUpgrade();
52 $this->parent->showError(
'config-upgrade-error' );
60 $this->
addHTML( $this->parent->getInfoBox(
69 $regenerate = !$this->
getVar(
'_ExistingDBSettings' );
71 $msg =
'config-upgrade-done';
73 $msg =
'config-upgrade-done-no-regenerate';
75 $this->parent->disableLinkPopups();
76 $this->parent->showSuccess(
78 $this->
getVar(
'wgServer' ) . $this->
getVar(
'wgScriptPath' ) .
'/index.php'
80 $this->parent->restoreLinkPopups();
81 $this->
endForm( $regenerate ?
'regenerate' :
false, false );
const MW_VERSION
The running version of MediaWiki.
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.