MediaWiki-Docker
MediaWiki-Docker is a Docker based development environment included with MediaWiki core.
Quickstart
Installing the dependencies and setting up the environment should take about 15 minutes
- Clone the MediaWiki core repository -
git clone --depth=1 https://gerrit.wikimedia.org/r/mediawiki/core.git mediawiki
- Follow the directions in
DEVELOPERS.md
in the root of themediawiki
repository. - Optional: extend the environment using the configuration recipes listed below
Support
If you run into issues, here are ways to get help.
- For a quick question, use #mediawiki connect.
- Feature requests and bug reports can be filed on Phabricator at #MediaWiki-Docker.
- For discussions, please use mail:wikitech-l.
Tutorials / Guides
Guides for setting up specific extensions or sets of extensions.
- AbuseFilter
- AdvancedSearch
- BCmath
- CampaignEvents
- CentralNotice
- CirrusSearch
- Cite
- CodeMirror
- ContentTranslation
- Echo
- ElectronPdfService
- EntitySchema
- Examples
- FileImporter
- GlobalWatchlist
- GrowthExperiments
- GrowthExperiments/cs
- GrowthExperiments/fr
- GrowthExperiments/id
- GrowthExperiments/tr
- GuidedTour
- Math
- MathSearch
- MediaSearch
- MobileFrontend
- Newsletter
- ORES
- Popups
- ProofreadPage
- RelatedArticles
- RevisionSlider
- SecurePoll
- SyntaxHighlight
- TemplateWizard
- Translate
- TwoColConflict
- VisualEditor
- WikiLambda
- Wikibase
- WikibaseCirrusSearch
- WikibaseLexeme
- WikibaseMediaInfo
Configuration recipes
Below are configuration recipes that can be used with MediaWiki core's Docker development environment.
docker-compose stacks can be extended with a docker-compose.override.yml
file that resides in the same directory (at the root of MediaWiki core, in our case) as the docker-compose.yml
file. Any configuration present in that file will override the defaults in docker-compose.yml
. More documentation on overriding works is available at https://docs.docker.com/compose/extends/
After updating your override file, run docker-compose down
followed by docker-compose up -d
.