Page MenuHomePhabricator

Shellbox MediaWiki integration
Open, Needs TriagePublic

Description

Some work will be needed to properly integrate Shellbox with MediaWiki. Some WIP patches have been uploaded.

  • Replace MediaWiki's Shell\Command with Shellbox's UnboxedCommand, and add a BoxedCommand factory. https://gerrit.wikimedia.org/r/c/mediawiki/core/+/626548
  • Give MediaWiki a registry of Shellbox route names. Shellbox configuration array mapping route name to configuration in extension.json.
  • Use extension.json configuration for the local mode? i.e. use it in CommandFactory::getLocalShellboxOptions().
  • A MediaWiki maintenance script that generates suggested Shellbox configuration, based on extension.json.
  • Port Score to BoxedCommand
  • Add HttpRequestFactory::createGuzzleClient() which provides a configured Guzzle HTTP client that respects $wgHTTPMaxTimeout etc. Per the todo item in ShellboxHttpClient in the WIP patch.