MediaWiki master
|
Run extension updates in order to install extension tables. More...
Inherits MediaWiki\Installer\Task\Task.
Public Member Functions | |
execute () | |
Execute the task. | |
getDependencies () | |
Get a list of names or aliases of tasks that must be done prior to this task. | |
getName () | |
Get the symbolic name of the task. | |
isSkipped () | |
Override this to return true to skip the task. | |
Public Member Functions inherited from MediaWiki\Installer\Task\Task | |
getAliases () | |
Get alternative names of this task. | |
getDescription () | |
Get a human-readable description of what this task does, for use as a progress message. | |
getDescriptionMessage () | |
Get the description as a Message object. | |
getHookContainer () | |
Get a HookContainer suitable for calling LoadExtensionSchemaUpdates. | |
getProvidedNames () | |
Get a list of names of objects that this task promises to provide via $this->getContext()->provide(). | |
getServices () | |
Get the restored services. | |
getVirtualDomains () | |
initBase (ITaskContext $context, string $schemaBasePath) | |
Inject the base class dependencies and configuration. | |
isPostInstall () | |
If this returns true, the task will be scheduled after tasks for which it returns false. | |
Additional Inherited Members | |
Protected Member Functions inherited from MediaWiki\Installer\Task\Task | |
applySourceFile (IMaintainableDatabase $conn, string $relPath) | |
Apply a SQL source file to the database as part of running an installation step. | |
definitelyGetConnection (string $type) | |
Get a database connection, and throw if a connection could not be obtained. | |
getConfigVar (string $name) | |
Get a configuration variable for the wiki being created. | |
getConnection (string $type) | |
Connect to the database for a specified purpose. | |
getContext () | |
Get the execution context. | |
getDatabaseCreator () | |
Get a helper for creating databases. | |
getOption (string $name) | |
Get an installer option value. | |
getSchemaBasePath () | |
Get the absolute base path for SQL schema files. | |
getSqlFilePath (string $filename) | |
Return a path to the DBMS-specific SQL file if it exists, otherwise default SQL file. | |
Run extension updates in order to install extension tables.
Definition at line 13 of file ExtensionTablesTask.php.
MediaWiki\Installer\Task\ExtensionTablesTask::execute | ( | ) |
Execute the task.
Notes for implementors:
Reimplemented from MediaWiki\Installer\Task\Task.
Definition at line 26 of file ExtensionTablesTask.php.
MediaWiki\Installer\Task\ExtensionTablesTask::getDependencies | ( | ) |
Get a list of names or aliases of tasks that must be done prior to this task.
Reimplemented from MediaWiki\Installer\Task\Task.
Definition at line 18 of file ExtensionTablesTask.php.
MediaWiki\Installer\Task\ExtensionTablesTask::getName | ( | ) |
Get the symbolic name of the task.
Reimplemented from MediaWiki\Installer\Task\Task.
Definition at line 14 of file ExtensionTablesTask.php.
MediaWiki\Installer\Task\ExtensionTablesTask::isSkipped | ( | ) |
Override this to return true to skip the task.
If this returns true, execute() will not be called, and start/end messages will not be produced.
Reimplemented from MediaWiki\Installer\Task\Task.
Definition at line 22 of file ExtensionTablesTask.php.