Skip to content

mw dev shellbox

Releasev0.35.0 · cfeceb67

Shellbox is a library for command execution, and also a server and client for remote command execution. Shellbox is usable starting with MediaWiki 1.36.

Different shellbox services include different libraries for different use cases.

The services provided by this command current make use of the Wikimedia Foundation pre built containers https://docker-registry.wikimedia.org/wikimedia/mediawiki-libs-shellbox/tags/

For “automatic” configuration we follow a pattern similar to the Wikimedia production config. If you run a service, you will find a service URL defined in $dockerServices.

$dockerServices['shellbox-media'] = '<internal-url>';

This will also be connected to $wgShellboxUrls automatically if the service is running for any known compatible URLs.

$wgShellboxUrls['pagedtiffhandler'] = $dockerServices['shellbox-media'];

Please see the help text of individual shellbox services to see the exact details.

-c, --context <string>
Development context to use (overrides CONTEXT) 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
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.