MediaWiki
REL1_22
|
Class for setting up the MediaWiki database using SQLLite. More...
Public Member Functions | |
checkPrerequisites () | |
createTables () | |
getConnectForm () | |
Get HTML for a web form that configures this database. | |
getGlobalDefaults () | |
Get a name=>value map of MW configuration globals that overrides. | |
getLocalSettings () | |
getName () | |
Return the internal name, e.g. | |
isCompiled () | |
needsUpgrade () | |
openConnection () | |
setupDatabase () | |
setupSearchIndex (&$status) | |
submitConnectForm () | |
Public Attributes | |
DatabaseSqlite | $db |
The database connection. | |
const | MINIMUM_VERSION = '3.3.7' |
Protected Attributes | |
$globalNames | |
Array of MW configuration globals this class uses. | |
Static Private Member Functions | |
static | dataDirOKmaybeCreate ($dir, $create=false) |
static | realpath ($path) |
Safe wrapper for PHP's realpath() that fails gracefully if it's unable to canonicalize the path. |
Class for setting up the MediaWiki database using SQLLite.
Definition at line 30 of file SqliteInstaller.php.
Reimplemented from DatabaseInstaller.
Definition at line 54 of file SqliteInstaller.php.
Reimplemented from DatabaseInstaller.
Definition at line 250 of file SqliteInstaller.php.
static SqliteInstaller::dataDirOKmaybeCreate | ( | $ | dir, |
$ | create = false |
||
) | [static, private] |
Get HTML for a web form that configures this database.
Configuration at this time should be the minimum needed to connect and test whether install or upgrade is required.
If this is called, $this->parent can be assumed to be a WebInstaller.
Reimplemented from DatabaseInstaller.
Definition at line 83 of file SqliteInstaller.php.
References array(), and DatabaseInstaller\getTextBox().
Get a name=>value map of MW configuration globals that overrides.
DefaultSettings.php
Reimplemented from DatabaseInstaller.
Definition at line 69 of file SqliteInstaller.php.
Reimplemented from DatabaseInstaller.
Definition at line 278 of file SqliteInstaller.php.
Return the internal name, e.g.
'mysql', or 'sqlite'.
Reimplemented from DatabaseInstaller.
Definition at line 42 of file SqliteInstaller.php.
Reimplemented from DatabaseInstaller.
Definition at line 46 of file SqliteInstaller.php.
References DatabaseInstaller\checkExtension().
Reimplemented from DatabaseInstaller.
Definition at line 202 of file SqliteInstaller.php.
Reimplemented from DatabaseInstaller.
Definition at line 180 of file SqliteInstaller.php.
static SqliteInstaller::realpath | ( | $ | path | ) | [static, private] |
Safe wrapper for PHP's realpath() that fails gracefully if it's unable to canonicalize the path.
$path | string |
Definition at line 104 of file SqliteInstaller.php.
Reimplemented from DatabaseInstaller.
Definition at line 217 of file SqliteInstaller.php.
SqliteInstaller::setupSearchIndex | ( | &$ | status | ) |
Reimplemented from DatabaseInstaller.
Definition at line 116 of file SqliteInstaller.php.
DatabaseSqlite SqliteInstaller::$db |
The database connection.
Reimplemented from DatabaseInstaller.
Definition at line 35 of file SqliteInstaller.php.
SqliteInstaller::$globalNames [protected] |
array( 'wgDBname', 'wgSQLiteDataDir', )
Array of MW configuration globals this class uses.
Reimplemented from DatabaseInstaller.
Definition at line 37 of file SqliteInstaller.php.
const SqliteInstaller::MINIMUM_VERSION = '3.3.7' |
Definition at line 31 of file SqliteInstaller.php.