Hey all,
TL;DR: `docker-compose up` gets you a Docker environment with which
to develop.
The Engineering Productivity group is happy to announce the
availability of a new, official Docker environment for MediaWiki
core. [0] This is a component of our work on improving developer
productivity, as part of the Wikimedia Foundation's "Platform
Evolution" [1] multi-year priority, looking to support faster, more
reliable technical change for our communities. We've been exploring
options for a year now, and we had a great deal of input,
particularly at the TechConf 2019, where Kosta Harlan worked
closely with us to move this forward. [2]
This new environment has been built for simple experimentation,
development, and testing of proposed changes to MediaWiki core. It
is designed to be particularly simple and easy to use, and intended
particularly to be a good option for newbies, be they testers,
designers, developers, or others who have not yet invested a great
deal of their time in setting up local environments.
We intend for this environment to become the official, supported,
and advertised entry point for small-scale development. If you find
issues, or have suggestions for improvements, we'd love to hear
from you. [3] We will be adjusting various bits of documentation
over time to encourage futher use, but if you find some out-of-date
instructions, please do fix them, or flag for us to do.
We know that there are number of people who need a more complex,
configurable, and powerful development and testing environment,
even up to being a "Wikimedia production-like" state. This is not
that environment; we plan to provide a more configurable and thus
more complex, "heavy-weight" alternative for that use case in the
future. You may wish to follow our work in Phabricator. [4]
Our huge thanks to pioneering volunteer and staff colleagues who
have provided support, testing, and advice, and who have explored
different uses of Vagrant, Docker, and other techniques for
providing better forms of MediaWiki testing, development, and
hosting, which have inspired us on how to best provide this. We
all owe you a great debt. Thank you.
Again, if you have questions, comments, or concerns, please do file
a task so that we can help you! [3]
[0] -
https://www.mediawiki.org/wiki/Docker
[1] -
https://meta.wikimedia.org/wiki/Wikimedia_Foundation_Medium-term_plan_2019/…
[2] -
https://phabricator.wikimedia.org/T238224
[3] -
https://phabricator.wikimedia.org/tag/mediawiki-docker/
[4] -
https://phabricator.wikimedia.org/tag/local-charts/
Yours,
--
Brennen Bearnes (he/him)
WMF Release Engineering