Skip to content

wikimedia/mediawiki-tools-git-remote

Repository files navigation

A git remote for MediaWiki

This code is a slightly updated version of the code in git/contrib/mw-to-git.

usage

  • Check out the code
 $ git clone https://github.com/hexmode/mediawiki-git-remote.git

  • Set up your environment
 $ eval `mediawiki-git-remote/setup.sh`

  • Clone a mediawiki
 $ git clone mediawiki::http://git-media.wiki/w

configuration

You can use your .git/config to store various configuation items

mwUnderNS
Only synchronize pages in this namespace.
mwLogin
Your MediaWiki username
mwPassword
Your MediaWiki password
Example:

  [remote "origin"]
    url = mediawiki::http://git-media.wiki/w
    fetch = +refs/heads/*:refs/remotes/origin/*
    mwUnderNS = SMW
    mwLogin = MyUser
    mwPassword = PASSWORD

About

Github mirror of "mediawiki/tools/git-remote" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published