canasta extension remove
canasta extension remove
Remove a previously added non-bundled extension
Synopsis
Undo canasta extension add: disables the extension in the global and every wiki's settings.yaml, deletes its directory from the instance's extensions/ directory (on a gitops instance, deinit and unregister the submodule and clean up .git/modules), unregisters its composer.json from config/composer.local.json and re-runs composer update --no-dev, commits the removal (gitops), and starts the containers if they are stopped.
Names not present under extensions/ are reported and skipped. Database tables created by the removed extension are left in place — MediaWiki does not reverse schema updates. Run canasta gitops push afterwards to distribute a gitops removal to other hosts.
canasta extension remove [flags] NAMES
Examples
canasta extension remove MyExtension
canasta extension remove MyExtension,OtherExtension
Arguments
| Argument | Description | Default | Required | Orchestrator |
|---|---|---|---|---|
NAMES |
Comma-separated extension names | ✓ | Both |
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--id |
-i |
Canasta instance ID | * | Both |
* Defaults to the Canasta instance matching the current directory, if any.
Global flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--help |
-h |
Show help message and exit | Both | ||
--verbose |
-v |
Enable verbose output | Both |