MediaWiki-Docker
Appearance
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
- 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
- CentralAuth
- CentralNotice
- CheckUser
- CheckUser/ar
- CheckUser/en
- CheckUser/fr
- CirrusSearch
- Cite
- Citoid
- CodeMirror
- ContactPage
- ContactPage/en
- ContactPage/es
- ContactPage/fr
- ContentTranslation
- Echo
- ElectronPdfService
- EntitySchema
- Examples
- FacetedCategory
- FileImporter
- GlobalBlocking
- GlobalPreferences
- GlobalWatchlist
- GrowthExperiments
- GrowthExperiments/cs
- GrowthExperiments/fr
- GrowthExperiments/id
- GrowthExperiments/tr
- GuidedTour
- IPInfo
- LoginNotify
- Math
- MathSearch
- MediaSearch
- MobileFrontend
- Newsletter
- ORES
- PageTriage
- Phonos
- Popups
- ProofreadPage
- RelatedArticles
- ReportIncident
- RevisionSlider
- Sanctions
- SecurePoll
- SyntaxHighlight
- TemplateStyles
- TemplateWizard
- Translate
- TwoColConflict
- VisualEditor
- WikiLambda
- Wikibase
- WikibaseCirrusSearch
- WikibaseLexeme
- WikibaseMediaInfo
- Wikistories
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
.
- Alternative databases
- Customize base image
- Develop PHP extension
- Disable XDebug for better performance
- ElasticSearch
- EventGate
- EventLogging
- Example docker-compose.override.yml file
- Jobrunner
- Logging
- Mail handling
- Memcached
- Ngrok
- Profiling
- Redis
- VueSSR
- Wiki farm
- Wikidiff2
- Xdebug
- Xdebug config for VS Code