canasta extension enable
canasta extension enable
Enable a Canasta extension
Synopsis
Enable one or more Canasta extensions by name. Multiple extensions can be specified as a comma-separated list. Use the --wiki flag to enable an extension for a specific wiki only.
After enabling, update.php is automatically run to apply any required database changes. Use --skip-update to skip this step.
A Kubernetes instance managed through gitops is not redeployed: Argo CD deploys it from its gitops repo. Enable saves the change there, and you deploy it with canasta gitops push, then canasta gitops sync. The web pods run update.php for the affected wikis when the sync restarts them, even with --skip-update.
An extension whose extension.json requires an extension or skin that is not enabled is refused, naming what is missing; enable it first or name it in the same command. Only what canasta extension enable and canasta skin enable enabled counts, not what other settings files load. If applying the change or update.php fails, what the command enabled is disabled again so the wikis keep loading.
canasta extension enable [flags] EXTENSIONS
Examples
canasta extension enable VisualEditor,Cite
Arguments
| Argument | Description | Default | Required | Orchestrator |
|---|---|---|---|---|
EXTENSIONS |
Comma-separated extension names | ✓ | Both |
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--id |
-i |
Canasta instance ID | * | Both | |
--skip-update |
Skip running update.php after enabling | Both | |||
--wiki |
-w |
Wiki ID within the farm | 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 |