Skip to content

mw dev mediawiki quibble

Releasev0.35.0 · cfeceb67

mw dev mediawiki quibble [flags] [quibble-commands]... -- [quibble-args]

Runs commands in a quibble container. This integration is experimental: Quibble runs tests for all checked-out extensions by default, and omitting --skip-install can change your development installation.

For Selenium recording, run quibble npm ci first, then:

mw dev mediawiki quibble record tests/selenium/specs/recentchanges.js

Omit the spec to record the full suite. The shortcut uses the internal development wiki and Admin/mwddpassword, with videos in tests/selenium/log/. It skips cloning, dependency installation and wiki installation. Run quibble record --help for target, credential and output overrides.

The bundled container temporarily wraps Quibble to preserve environment overrides for browser tests and custom commands (T252883). Raw Quibble commands otherwise retain their upstream defaults.

See Quibble documentation for its stages and options.

-u, --user <string>
User to run as, defaults to current OS user uid:gid Default: 1000:1000.
-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
Terminal window
# Start an interactive terminal in the quibble container
mw dev mediawiki quibble bash
# Get help for the quibble CLI tool
mw dev mediawiki quibble quibble -- --help
# Record one Selenium spec, or omit the spec to record the full suite
mw dev mediawiki quibble record tests/selenium/specs/recentchanges.js
# Run php-unit quibble stage using your development LocalSettings.php, skipping anything that alters your installation
mw dev mediawiki quibble quibble -- --skip-zuul --skip-deps --skip-install --db-is-external --run phpunit-unit
# Run composer phpunit:unit inside the quibble container
mw dev mediawiki quibble quibble -- --skip-zuul --skip-deps --skip-install --db-is-external --command "composer phpunit:unit"
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.