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:
parent
70bc2a5527
commit
b118bddc15
31 changed files with 53 additions and 47 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
use MediaWiki\Session\SessionProvider;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerComplete extends WebInstallerPage {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerCopying extends WebInstallerDocument {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerDBConnect extends WebInstallerPage {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerDBSettings extends WebInstallerPage {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
abstract class WebInstallerDocument extends WebInstallerPage {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerExistingWiki extends WebInstallerPage {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerInstall extends WebInstallerPage {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerLanguage extends WebInstallerPage {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
use MediaWiki\MediaWikiServices;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerOptions extends WebInstallerPage {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerReadme extends WebInstallerDocument {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerReleaseNotes extends WebInstallerDocument {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerRestart extends WebInstallerPage {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerUpgrade extends WebInstallerPage {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerUpgradeDoc extends WebInstallerDocument {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.gnu.org/copyleft/gpl.html
|
||||
*
|
||||
* @file
|
||||
* @ingroup Deployment
|
||||
* @ingroup Installer
|
||||
*/
|
||||
|
||||
class WebInstallerWelcome extends WebInstallerPage {
|
||||
|
|
|
|||
Loading…
Reference in a new issue