Cli/ref/mw docker mediawiki foreachwiki
Appearance
mw docker mediawiki foreachwiki
[edit]Executes a MediaWiki script using run.php in the MediaWiki container for all known wikis.
Synopsis
[edit]Executes a MediaWiki script using run.php in the MediaWiki container for all known wikis.
The exit code will be the highest exit code encountered.
mw docker mediawiki foreachwiki [flags] [script...] -- [script flags]
Examples
[edit]foreachwiki update # Runs the update script on all wikis
Options
[edit]-u, --user string User to run as, defaults to current OS user uid:gid (default "0:0")
Options inherited from parent commands
[edit]-c, --context string The context to use (default "default") --help Help for this command --no-interaction Do not ask any interactive questions -v, --verbose count Increase output verbosity. Example: --verbose=2 or -vv
SEE ALSO
[edit]- mw docker mediawiki - MediaWiki service