mw dev shellbox syntaxhighlight
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.
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-syntaxhighlight'] = '<internal-url>';Known ShellboxUrls are then also configured. Currently that is the following Urls.
$wgShellboxUrls['syntaxhighlight'] = $dockerServices['shellbox-syntaxhighlight'];You can add more to your LocalSettings.php file if needed.
Note: This service will NOT be automatically loaded if MW_PHPUNIT_TEST is defined. (This happens when you are running unit tests)
Documentation
Section titled “Documentation”Commands
Section titled “Commands”- mw dev shellbox syntaxhighlight create — Create the containers
- mw dev shellbox syntaxhighlight destroy — Destroy the containers
- mw dev shellbox syntaxhighlight exec — Execute a command in the main container
- mw dev shellbox syntaxhighlight image — Interact with the image used for the service
- mw dev shellbox syntaxhighlight rebuild — Build images and recreate the containers
- mw dev shellbox syntaxhighlight start — Start the containers
- mw dev shellbox syntaxhighlight stop — Stop the containers
Global options
Section titled “Global options”See also
Section titled “See also”Page views: —Sessions: —