Downloads and imports Wikipedia page histories to a git repository
Go to file
Daniel Lenski 5ac532d54d make into a proper distutils package, with wp2git as CLI entry point, and call it version 1.0 2016-08-05 18:27:10 -07:00
wp2git make into a proper distutils package, with wp2git as CLI entry point, and call it version 1.0 2016-08-05 18:27:10 -07:00
.gitignore make into a proper distutils package, with wp2git as CLI entry point, and call it version 1.0 2016-08-05 18:27:10 -07:00
AUTHORS replace D version with Python version, based on mwclient 2014-10-14 00:44:56 -07:00
LICENSE replace D version with Python version, based on mwclient 2014-10-14 00:44:56 -07:00
README.md make a non-bare repo by default 2015-12-26 22:45:33 -08:00
setup.py make into a proper distutils package, with wp2git as CLI entry point, and call it version 1.0 2016-08-05 18:27:10 -07:00
version.py make into a proper distutils package, with wp2git as CLI entry point, and call it version 1.0 2016-08-05 18:27:10 -07:00

README.md

wp2git

This program allows you to download and convert any Wikipedia article's history to a git repository, for easy browsing and blaming.

Usage

$ wp2git.py [--bare] article_name

wp2git will create a directory, in which a new git repository will be created. The repository will contain a single file named article_name.mw, along with its entire edit history.

Run wp2git --help for more options.

Requirements

git should be accessible from PATH.

The mwclient package must be installed (use pip install mwclient).

Entirely based on

CyberShadow's version written in the D language.