MediaWiki  1.27.2
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')
 
 execute ()
 
 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(). More...
 
 setVar ($name, $value)
 
 startForm ()
 

Protected Member Functions

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

Additional Inherited Members

- Public Attributes inherited from WebInstallerPage
WebInstaller $parent
 The WebInstaller object this WebInstallerPage belongs to. More...
 

Detailed Description

Definition at line 22 of file WebInstallerExistingWiki.php.

Member Function Documentation

WebInstallerExistingWiki::handleExistingUpgrade (   $vars)
protected

Initiate an upgrade of the existing database.

Parameters
mixed[]$vars Variables from LocalSettings.php
Returns
Status

Definition at line 140 of file WebInstallerExistingWiki.php.

References $status, $vars, Installer\getDBTypes(), importVariables(), Status\newFatal(), and WebInstallerPage\setVar().

Referenced by execute().

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

Definition at line 121 of file WebInstallerExistingWiki.php.

References $name, $status, $vars, as, Status\newGood(), and WebInstallerPage\setVar().

Referenced by handleExistingUpgrade().

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: