/**
* Class for the core installer command line interface.
*
+ * @ingroup Deployment
* @since 1.17
*/
class CliInstaller extends CoreInstaller {
* Base core installer class.
* Handles everything that is independent of user interface.
*
+ * @ingroup Deployment
* @since 1.17
*/
abstract class CoreInstaller extends Installer {
/**
* Base class for DBMS-specific installation helper classes.
+ *
+ * @ingroup Deployment
+ * @since 1.17
*/
abstract class DatabaseInstaller {
/*
* Class for handling database updates. Roughly based off of updaters.inc, with
* a few improvements :)
+ *
+ * @ingroup Deployment
+ * @since 1.17
*/
abstract class DatabaseUpdater {
<?php
+/**
+ * This documentation group collects source code files with deployment functionality.
+ *
+ * @defgroup Deployment Deployment
+ */
+
/**
* Base installer class.
*
* This class provides the base for installation and update functionality
* for both MediaWiki core and extensions.
*
+ * @ingroup Deployment
* @since 1.17
*/
abstract class Installer {
<?php
+/**
+ * Class for manipulating LocalSettings.
+ *
+ * @ingroup Deployment
+ * @since 1.17
+ */
class LocalSettingsGenerator {
private $extensions = array();
<?php
+/**
+ * Class for setting up the MediaWiki database using MySQL.
+ *
+ * @ingroup Deployment
+ * @since 1.17
+ */
class MysqlInstaller extends DatabaseInstaller {
protected $globalNames = array(
}
public function submitConnectForm() {
- // Get variables from the request
+ // Get variables from the request.
$newValues = $this->setVarsFromRequest( array( 'wgDBserver', 'wgDBname', 'wgDBprefix' ) );
- // Validate them
+ // Validate them.
$status = Status::newGood();
if ( !strlen( $newValues['wgDBname'] ) ) {
$status->fatal( 'config-missing-db-name' );
<?php
/**
- * Mysql update list and mysql-specific update functions
+ * Mysql update list and mysql-specific update functions.
+ *
+ * @ingroup Deployment
+ * @since 1.17
*/
class MysqlUpdater extends DatabaseUpdater {
+
protected function getCoreUpdateList() {
return array(
'1.2' => array(
<?php
+/**
+ * Class for setting up the MediaWiki database using Oracle.
+ *
+ * @ingroup Deployment
+ * @since 1.17
+ */
class OracleInstaller extends DatabaseInstaller {
protected $globalNames = array(
<?php
+/**
+ * Class for setting up the MediaWiki database using Postgres.
+ *
+ * @ingroup Deployment
+ * @since 1.17
+ */
class PostgresInstaller extends DatabaseInstaller {
protected $globalNames = array(
<?php
+/**
+ * Class for setting up the MediaWiki database using SQLLite.
+ *
+ * @ingroup Deployment
+ * @since 1.17
+ */
class SqliteInstaller extends DatabaseInstaller {
protected $globalNames = array(
<?php
+
/**
- * Sqlite
+ * Class for handling updates to Sqlite databases.
+ *
+ * @ingroup Deployment
+ * @since 1.17
*/
class SqliteUpdater extends DatabaseUpdater {
+
protected function getCoreUpdateList() {
return array(
'1.14' => array(
/**
* Class for the core installer web interface.
*
+ * @ingroup Deployment
* @since 1.17
*/
class WebInstaller extends CoreInstaller {
* the interests of separation of concerns: if we used a subclass, there would be
* quite a lot of things you could do in OutputPage that would break the installer,
* that wouldn't be immediately obvious.
+ *
+ * @ingroup Deployment
+ * @since 1.17
*/
class WebInstallerOutput {
/**
* Abstract class to define pages for the web installer.
+ *
+ * @ingroup Deployment
+ * @since 1.17
*/
abstract class WebInstallerPage {