canasta maintenance extension
canasta > maintenance > extension
canasta maintenance extension
Run extension maintenance scripts
Synopsis
Run maintenance scripts provided by loaded MediaWiki extensions.
With no arguments, lists all loaded extensions that have a
maintenance/ directory. With one argument (extension name),
lists available maintenance scripts for that extension. With
two or more arguments (extension name, script name, and
optional script arguments), runs the specified script.
Flags (-i, --wiki) must come before the extension name.
Everything after the extension name is treated as the script
and its arguments — no quotes needed.
Only extensions that are currently loaded (enabled) for the
target wiki are shown and allowed to run. In a wiki farm, runs
on all wikis by default. Use --wiki to target a specific
wiki.
canasta maintenance extension [flags]
Examples
canasta maintenance extension
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--id |
-i |
Canasta instance ID | * | Both | |
--script-args |
Extension maintenance script and arguments | Both | |||
--wiki |
-w |
Wiki 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 |