mw docker citoid
editcitoid service
Synopsis
edit
Citoid service
editUsing this will automatically configure a citoid service for MediaWiki.
When running, this will define:
$wgCitoidServiceUrl = 'http://citoid.mwdd.localhost: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 TemplateData
You would need to load these in your local settings:
wfLoadExtension( 'VisualEditor' );
wfLoadExtension( 'Cite' );
wfLoadExtension( 'Citoid' );
wfLoadExtension( 'TemplateData' );
And also import some default pages:
mw docker mediawiki mwscript importDump https://gitlab.wikimedia.org/repos/ci-tools/patchdemo/-/raw/bc3e798b6bbbc3354d8b957456b87a50c8150853/pages/extensions-Citoid.xml
mw docker mediawiki mwscript importDump https://gitlab.com/wmde/technical-wishes/docker-dev/-/raw/c40990e67e293fa2026a2c67c9963fe3a1b2608a/modules/Citoid/xml-dumps/Citoid-templates.xml
Options inherited from parent commands
edit-c, --context string The context to use (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
SEE ALSO
edit- mw docker - An advanced docker compose based development environment
- mw docker citoid create - Create the containers
- mw docker citoid destroy - Destroy the containers
- mw docker citoid exec - Execute a command in the main container
- mw docker citoid expose - Expose a port in a running container
- mw docker citoid image - Interact with the image used for the service
- mw docker citoid start - Start the containers
- mw docker citoid stop - Stop the containers