canasta maintenance script
From Canasta Wiki
canasta > maintenance > script
canasta maintenance script
Run maintenance scripts
Synopsis
Run a MediaWiki core maintenance script inside the web container.
With no arguments, lists all available maintenance scripts.
With one or more arguments, runs the specified script. The
script name is relative to the maintenance/ directory.
Flags (-i, --wiki) must come before the script name.
Everything after the script name is treated as script
arguments — no quotes needed.
In a wiki farm, runs on all wikis by default. Use --wiki to
target a specific wiki.
canasta maintenance script [flags]
Examples
canasta maintenance script -- rebuildall.php
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--id |
-i |
Canasta instance ID | * | Both | |
--script-args |
Maintenance script name and arguments | Both | |||
--wiki |
-w |
Wiki ID to run script on | 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 |