Using https://github.com/moy/Git-Mediawiki/wiki/User-manual which is part of the contrib in git [[Git]] itself, provides a "remote" that talks to a Mediawiki instance API and uses git to store text version of the wiki filesin a local git repository. This is a good way to backup and also to edit 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
[[Category:Git]]
[[Category:Wiki]]