installer: Rename Doxygen group from "Deployment" to "Installer"

Also improve the description a bit and explain at a high level
how this code is used, and which classes back those entry points.

Change-Id: Ia69531858e714d0b43a29a7d5b6dcc5c7edd8240
This commit is contained in:
Timo Tijhof 2019-11-25 23:24:49 +00:00
parent 70bc2a5527
commit b118bddc15
31 changed files with 53 additions and 47 deletions

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use MediaWiki\Installer\InstallException;
@ -27,7 +27,7 @@ use MediaWiki\MediaWikiServices;
/**
* Class for the core installer command line interface.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
class CliInstaller extends Installer {

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use MediaWiki\MediaWikiServices;
@ -31,7 +31,7 @@ use Wikimedia\Rdbms\DBConnectionError;
/**
* Base class for DBMS-specific installation helper classes.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
abstract class DatabaseInstaller {

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use Wikimedia\Rdbms\IDatabase;
use Wikimedia\Rdbms\IMaintainableDatabase;
@ -30,7 +30,7 @@ require_once __DIR__ . '/../../maintenance/Maintenance.php';
* Class for handling database updates. Roughly based off of updaters.inc, with
* a few improvements :)
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
abstract class DatabaseUpdater {

View file

@ -21,7 +21,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use MediaWiki\Interwiki\NullInterwikiLookup;
@ -29,9 +29,15 @@ use MediaWiki\MediaWikiServices;
use MediaWiki\Shell\Shell;
/**
* This documentation group collects source code files with deployment functionality.
* The Installer helps admins create or upgrade their wiki.
*
* @defgroup Deployment Deployment
* The installer classes are exposed through these human interfaces:
*
* - The `maintenance/install.php` script, backed by CliInstaller.
* - The `maintenance/update.php` script, backed by DatabaseUpdater.
* - The `mw-config/index.php` web entry point, backed by WebInstaller.
*
* @defgroup Installer installer
*/
/**
@ -40,7 +46,7 @@ use MediaWiki\Shell\Shell;
* This class provides the base for installation and update functionality
* for both MediaWiki core and extensions.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
abstract class Installer {

View file

@ -20,7 +20,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use MediaWiki\Session\SessionProvider;

View file

@ -18,13 +18,13 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
/**
* Class for generating LocalSettings.php file.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
class LocalSettingsGenerator {

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use Wikimedia\Rdbms\Database;
@ -28,7 +28,7 @@ use Wikimedia\Rdbms\DBConnectionError;
/**
* Class for setting up the MediaWiki database using MySQL.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
class MysqlInstaller extends DatabaseInstaller {

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use Wikimedia\Rdbms\MySQLField;
use Wikimedia\Rdbms\IDatabase;
@ -27,7 +27,7 @@ use MediaWiki\MediaWikiServices;
/**
* Mysql update list and mysql-specific update functions.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
* @property Wikimedia\Rdbms\DatabaseMysqlBase $db
*/

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use Wikimedia\Rdbms\Database;
@ -29,7 +29,7 @@ use Wikimedia\Rdbms\DBConnectionError;
/**
* Class for setting up the MediaWiki database using Postgres.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
class PostgresInstaller extends DatabaseInstaller {

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use Wikimedia\Rdbms\DatabasePostgres;
@ -26,7 +26,7 @@ use Wikimedia\Rdbms\DatabasePostgres;
/**
* Class for handling updates to Postgres databases.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
class PostgresUpdater extends DatabaseUpdater {

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use Wikimedia\Rdbms\Database;
@ -28,7 +28,7 @@ use Wikimedia\Rdbms\DBConnectionError;
/**
* Class for setting up the MediaWiki database using SQLLite.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
class SqliteInstaller extends DatabaseInstaller {

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use Wikimedia\Rdbms\DatabaseSqlite;
@ -26,7 +26,7 @@ use Wikimedia\Rdbms\DatabaseSqlite;
/**
* Class for handling updates to Sqlite databases.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
class SqliteUpdater extends DatabaseUpdater {

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use MediaWiki\MediaWikiServices;
@ -26,7 +26,7 @@ use MediaWiki\MediaWikiServices;
/**
* Class for the core installer web interface.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
class WebInstaller extends Installer {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerComplete extends WebInstallerPage {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerCopying extends WebInstallerDocument {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerDBConnect extends WebInstallerPage {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerDBSettings extends WebInstallerPage {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
abstract class WebInstallerDocument extends WebInstallerPage {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerExistingWiki extends WebInstallerPage {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerInstall extends WebInstallerPage {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerLanguage extends WebInstallerPage {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use MediaWiki\MediaWikiServices;

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerOptions extends WebInstallerPage {

View file

@ -18,7 +18,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
use MediaWiki\MediaWikiServices;
@ -31,7 +31,7 @@ use MediaWiki\MediaWikiServices;
* quite a lot of things you could do in OutputPage that would break the installer,
* that wouldn't be immediately obvious.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
* @private
*/

View file

@ -18,13 +18,13 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
/**
* Abstract class to define pages for the web installer.
*
* @ingroup Deployment
* @ingroup Installer
* @since 1.17
*/
abstract class WebInstallerPage {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerReadme extends WebInstallerDocument {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerReleaseNotes extends WebInstallerDocument {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerRestart extends WebInstallerPage {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerUpgrade extends WebInstallerPage {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerUpgradeDoc extends WebInstallerDocument {

View file

@ -16,7 +16,7 @@
* http://www.gnu.org/copyleft/gpl.html
*
* @file
* @ingroup Deployment
* @ingroup Installer
*/
class WebInstallerWelcome extends WebInstallerPage {