While rsync is capable of bi-directionally synchronizing multiple wikis. The script below is in use on a (read/write) master to (mostly read-only) slave wiki. Use rsync's -u option, but with care: page-locks, and edit-drafts are not distributed. - While suitable for a small group of editors, race-conditions may occur on larger public wikis.

One workaround is to make a receiving namespace read-only; optionally in combination with the include plugin to make parts locally writable content.

Alternatively one can make use of redirecting or proxying write-requests (HTTP-POSTs in general) to the central master. There can be different master servers per namespace; but depends on secure cross-site requests and authentication token passing.

Last but not least NFS-sharing the data/lock folder may be an option. see dokupubsub.