mw dev citoid
Releasev0.35.0 · cfeceb67
Using this will automatically configure a citoid service for MediaWiki.
When running, this will define:
$wgCitoidServiceUrl = 'http://citoid.local.wmftest.net:8080/api';A common usecase for this service requires installation of some additional extensions.
mwdev dev mediawiki get-code --extension Citoid --extension Cite --extension VisualEditor --extension TemplateDataYou would need to load these in your local settings:
wfLoadExtension( 'VisualEditor' );wfLoadExtension( 'Cite' );wfLoadExtension( 'Citoid' );wfLoadExtension( 'TemplateData' );And also import some default pages:
mw dev mediawiki mwscript importDump https://gitlab.wikimedia.org/repos/ci-tools/patchdemo/-/raw/bc3e798b6bbbc3354d8b957456b87a50c8150853/pages/extensions-Citoid.xmlmw dev mediawiki mwscript importDump https://gitlab.com/wmde/technical-wishes/docker-dev/-/raw/c40990e67e293fa2026a2c67c9963fe3a1b2608a/modules/Citoid/xml-dumps/Citoid-templates.xmlCommands
Section titled “Commands”- mw dev citoid create — Create the containers
- mw dev citoid destroy — Destroy the containers
- mw dev citoid exec — Execute a command in the main container
- mw dev citoid image — Interact with the image used for the service
- mw dev citoid rebuild — Build images and recreate the containers
- mw dev citoid start — Start the containers
- mw dev citoid stop — Stop the containers
Global options
Section titled “Global options”See also
Section titled “See also”Page views: —Sessions: —