MediaWiki-Docker-Dev

MediaWiki-Docker-Dev is a Docker-based development environment for MediaWiki authored by User:Addshore with contributions from others. It can be downloaded from GitHub, and you can find instructions for setup in the README.

Adjusting database replication delay
This is very useful for reproducing production bugs caused by replication delay.

First, connect to the replica database:

Then execute this SQL to set the delay to 2 seconds.

The output should show

Log to STDERR
With this configuration, you can view MediaWiki's logs by running

Improve file system sync on macOS
Docker for Mac users may notice a performance improvement by adjusting  so that the   section under   has   set:

EventLogging

 * 1) Clone the eventlogging repository
 * 2) Run

In Docker for Mac, add this to your :

Redis
In  add:

In MediaWiki's, add: