Git mediawiki
From Freephile Wiki
Using https://github.com/moy/Git-Mediawiki/wiki/User-manual which is part of the contrib in Git itself, provides a "remote" that talks to a Mediawiki instance API and uses git to store text version of the wiki files in a local git repository. This is a good way to clone/author your wiki through a set of text files rather than the web interface. It needs namespace support https://github.com/moy/Git-Mediawiki/issues/10