MediaWiki master
|
A scheduled provider which loads extensions. More...
Inherits MediaWiki\Installer\Task\Task.
Public Member Functions | |
execute () | |
Execute the task. | |
getName () | |
Get the symbolic name of the task. | |
getProvidedNames () | |
Get a list of names of objects that this task promises to provide via $this->getContext()->provide(). | |
![]() | |
getAliases () | |
Get alternative names of this task. | |
getDependencies () | |
Get a list of names or aliases of tasks that must be done prior to 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. | |
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. | |
isSkipped () | |
Override this to return true to skip the task. | |
Protected Member Functions | |
getExtensionsDir () | |
getSkinsDir () | |
![]() | |
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. | |
A scheduled provider which loads extensions.
Definition at line 18 of file ExtensionsProvider.php.
MediaWiki\Installer\Task\ExtensionsProvider::execute | ( | ) |
Execute the task.
Notes for implementors:
Reimplemented from MediaWiki\Installer\Task\Task.
Definition at line 27 of file ExtensionsProvider.php.
References MediaWiki\Installer\Task\Task\getContext().
|
protected |
Definition at line 68 of file ExtensionsProvider.php.
MediaWiki\Installer\Task\ExtensionsProvider::getName | ( | ) |
Get the symbolic name of the task.
Reimplemented from MediaWiki\Installer\Task\Task.
Definition at line 19 of file ExtensionsProvider.php.
MediaWiki\Installer\Task\ExtensionsProvider::getProvidedNames | ( | ) |
Get a list of names of objects that this task promises to provide via $this->getContext()->provide().
If this is non-empty, the task is a scheduled provider, which means that it is not persistently complete after it has been run. If installation is interrupted, it might need to be run again.
Reimplemented from MediaWiki\Installer\Task\Task.
Definition at line 23 of file ExtensionsProvider.php.
|
protected |
Definition at line 75 of file ExtensionsProvider.php.