canasta maintenance extension
From Canasta Wiki
canasta > maintenance > extension
canasta maintenance extension
Run extension maintenance scripts
Synopsis
Run maintenance scripts provided by MediaWiki extensions.
With no arguments, lists all installed extensions that have a
maintenance/ directory. With arguments, runs the specified
script using MediaWiki's run.php wrapper with the extension-
prefix syntax <ExtName>:<scriptName>. The .php suffix is
optional. Anything after the script name is passed through 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 extension [flags]
Examples
canasta maintenance extension
canasta maintenance extension Cite:fixHTMLOutputForCite
canasta maintenance extension SemanticMediaWiki:rebuildData -v
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 |