MediaWiki REL1_34
WebInstallerExistingWiki Class Reference
Inheritance diagram for WebInstallerExistingWiki:
Collaboration diagram for WebInstallerExistingWiki:

Public Member Functions

 execute ()
 
- Public Member Functions inherited from 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 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 WebInstallerPage
WebInstaller $parent
 The WebInstaller object this WebInstallerPage belongs to.
 

Detailed Description

Definition at line 22 of file WebInstallerExistingWiki.php.

Member Function Documentation

◆ execute()

◆ handleExistingUpgrade()

WebInstallerExistingWiki::handleExistingUpgrade (   $vars)
protected

Initiate an upgrade of the existing database.

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

Definition at line 140 of file WebInstallerExistingWiki.php.

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

Referenced by execute().

◆ importVariables()

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

Definition at line 121 of file WebInstallerExistingWiki.php.

References WebInstallerPage\setVar().

Referenced by handleExistingUpgrade().

◆ showKeyForm()

WebInstallerExistingWiki::showKeyForm ( )
protected

Show the "enter key" form.

Definition at line 101 of file WebInstallerExistingWiki.php.

References WebInstallerPage\addHTML(), WebInstallerPage\endForm(), WebInstallerPage\startForm(), and wfMessage().

Referenced by execute().


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