37 if ( $this->
getVar(
'_UpgradeDone' ) ) {
41 if ( $this->parent->request->wasPosted() && !$this->getVar(
'_ExistingDBSettings' ) ) {
53 if ( !$this->parent->needsUpgrade() ) {
57 if ( $this->parent->request->wasPosted() ) {
59 $result = $this->parent->doUpgrade();
66 $this->parent->showError(
'config-upgrade-error' );
74 $this->
addHTML( $this->parent->getInfoBox(
83 $regenerate = !$this->
getVar(
'_ExistingDBSettings' );
85 $msg =
'config-upgrade-done';
87 $msg =
'config-upgrade-done-no-regenerate';
89 $this->parent->disableLinkPopups();
91 $this->parent->getInfoBox(
93 $this->
getVar(
'wgServer' ) .
94 $this->
getVar(
'wgScriptPath' ) .
'/index.php'
98 $this->parent->restoreLinkPopups();
99 $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.