MediaWiki master
MediaWiki\Installer\WebInstallerExistingWiki Class Reference

Inherits MediaWiki\Installer\WebInstallerPage.

Collaboration diagram for MediaWiki\Installer\WebInstallerExistingWiki:

Public Member Functions

 execute ()
 
- Public Member Functions inherited from MediaWiki\Installer\WebInstallerPage
 __construct (WebInstaller $parent)
 
 addHTML ( $html)
 
 endForm ( $continue='continue', $back='back')
 
 getName ()
 
 getVar ( $var, $default=null)
 
 isSlow ()
 Is this a slow-running page in the installer? If so, WebInstaller will set_time_limit(0) before calling execute().
 
 setVar ( $name, $value)
 
 startForm ()
 

Protected Member Functions

 handleExistingUpgrade ( $vars)
 Initiate an upgrade of the existing database.
 
 importVariables ( $names, $vars)
 
 showKeyForm ()
 Show the "enter key" form.
 
- Protected Member Functions inherited from MediaWiki\Installer\WebInstallerPage
 endLiveBox ()
 Opposite to WebInstallerPage::startLiveBox.
 
 getFieldsetEnd ()
 Get the end tag of a fieldset.
 
 getFieldsetStart ( $legend)
 Get the starting tags of a fieldset.
 
 getId ()
 
 startLiveBox ()
 Opens a textarea used to display the progress of a long operation.
 

Additional Inherited Members

- Public Attributes inherited from MediaWiki\Installer\WebInstallerPage
WebInstaller $parent
 The WebInstaller object this WebInstallerPage belongs to.
 

Detailed Description

Definition at line 27 of file WebInstallerExistingWiki.php.

Member Function Documentation

◆ execute()

◆ handleExistingUpgrade()

MediaWiki\Installer\WebInstallerExistingWiki::handleExistingUpgrade ( $vars)
protected

Initiate an upgrade of the existing database.

Parameters
mixed[]$varsVariables from LocalSettings.php
Returns
Status

Definition at line 145 of file WebInstallerExistingWiki.php.

References MediaWiki\Installer\Installer\getDBTypes(), MediaWiki\Installer\WebInstallerExistingWiki\importVariables(), and MediaWiki\Installer\WebInstallerPage\setVar().

Referenced by MediaWiki\Installer\WebInstallerExistingWiki\execute().

◆ importVariables()

MediaWiki\Installer\WebInstallerExistingWiki::importVariables ( $names,
$vars )
protected
Parameters
string[]$names
mixed[]$vars
Returns
Status

Definition at line 126 of file WebInstallerExistingWiki.php.

References MediaWiki\Installer\WebInstallerPage\setVar().

Referenced by MediaWiki\Installer\WebInstallerExistingWiki\handleExistingUpgrade().

◆ showKeyForm()

MediaWiki\Installer\WebInstallerExistingWiki::showKeyForm ( )
protected

The documentation for this class was generated from the following file: