Added deployment documentation group
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Thu, 29 Jul 2010 18:36:39 +0000 (18:36 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Thu, 29 Jul 2010 18:36:39 +0000 (18:36 +0000)
15 files changed:
includes/installer/CliInstaller.php
includes/installer/CoreInstaller.php
includes/installer/DatabaseInstaller.php
includes/installer/DatabaseUpdater.php
includes/installer/Installer.php
includes/installer/LocalSettingsGenerator.php
includes/installer/MysqlInstaller.php
includes/installer/MysqlUpdater.php
includes/installer/OracleInstaller.php
includes/installer/PostgresInstaller.php
includes/installer/SqliteInstaller.php
includes/installer/SqliteUpdater.php
includes/installer/WebInstaller.php
includes/installer/WebInstallerOutput.php
includes/installer/WebInstallerPage.php

index a785977..56602b5 100644 (file)
@@ -3,6 +3,7 @@
 /**
  * Class for the core installer command line interface.
  * 
+ * @ingroup Deployment
  * @since 1.17
  */
 class CliInstaller extends CoreInstaller {
index 09b6d1b..5297d19 100644 (file)
@@ -4,6 +4,7 @@
  * Base core installer class.
  * Handles everything that is independent of user interface.
  * 
+ * @ingroup Deployment
  * @since 1.17
  */
 abstract class CoreInstaller extends Installer {
index acf0e68..456e8e5 100644 (file)
@@ -2,6 +2,9 @@
 
 /**
  * Base class for DBMS-specific installation helper classes.
+ * 
+ * @ingroup Deployment
+ * @since 1.17
  */
 abstract class DatabaseInstaller {
        
index c817f80..d090f85 100644 (file)
@@ -3,6 +3,9 @@
 /*
  * Class for handling database updates. Roughly based off of updaters.inc, with
  * a few improvements :)
+ * 
+ * @ingroup Deployment
+ * @since 1.17
  */
 abstract class DatabaseUpdater {
 
index 2f3beeb..60bd7d4 100644 (file)
@@ -1,11 +1,18 @@
 <?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 {
index 84cf2e4..8b2e266 100644 (file)
@@ -1,5 +1,11 @@
 <?php
 
+/**
+ * Class for manipulating LocalSettings.
+ *
+ * @ingroup Deployment
+ * @since 1.17
+ */
 class LocalSettingsGenerator {
        
        private $extensions = array();
index 4e50fe0..d2d6bdf 100644 (file)
@@ -1,5 +1,11 @@
 <?php
 
+/**
+ * Class for setting up the MediaWiki database using MySQL.
+ * 
+ * @ingroup Deployment
+ * @since 1.17
+ */
 class MysqlInstaller extends DatabaseInstaller {
        
        protected $globalNames = array(
@@ -60,10 +66,10 @@ class MysqlInstaller extends DatabaseInstaller {
        }
 
        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' );
index f6db9f7..03b2dfd 100644 (file)
@@ -1,9 +1,13 @@
 <?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(
index 3d56448..5392368 100644 (file)
@@ -1,5 +1,11 @@
 <?php
 
+/**
+ * Class for setting up the MediaWiki database using Oracle.
+ * 
+ * @ingroup Deployment
+ * @since 1.17
+ */
 class OracleInstaller extends DatabaseInstaller {
 
        protected $globalNames = array(
index e0345b2..bb812e8 100644 (file)
@@ -1,5 +1,11 @@
 <?php
 
+/**
+ * Class for setting up the MediaWiki database using Postgres.
+ * 
+ * @ingroup Deployment
+ * @since 1.17
+ */
 class PostgresInstaller extends DatabaseInstaller {
 
        protected $globalNames = array(
index fe7f5c2..1c7ad48 100644 (file)
@@ -1,5 +1,11 @@
 <?php
 
+/**
+ * Class for setting up the MediaWiki database using SQLLite.
+ * 
+ * @ingroup Deployment
+ * @since 1.17
+ */
 class SqliteInstaller extends DatabaseInstaller {
        
        protected $globalNames = array(
index 99a8f12..e5bed0a 100644 (file)
@@ -1,8 +1,13 @@
 <?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(
index f3a9079..408fc52 100644 (file)
@@ -3,6 +3,7 @@
 /**
  * Class for the core installer web interface.
  * 
+ * @ingroup Deployment
  * @since 1.17
  */
 class WebInstaller extends CoreInstaller {
index 019fd6c..27e7bed 100644 (file)
@@ -7,6 +7,9 @@
  * 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 {
        
index a630b5d..be358ff 100644 (file)
@@ -2,6 +2,9 @@
 
 /**
  * Abstract class to define pages for the web installer.
+ * 
+ * @ingroup Deployment
+ * @since 1.17
  */
 abstract class WebInstallerPage {