Fixes: $ wp2git --lang en Adblock_Plus ... >> Minor Revision 233246255 by Clarityfiend at Thu Aug 21 03:17:46 2008: minor tweak Traceback (most recent call last): File ".../bin/wp2git", line 11, in <module> load_entry_point('wp2git==1.0.1.dev4+gb519d2d', 'console_scripts', 'wp2git')() File ".../lib/python2.7/site-packages/wp2git/wp2git.py", line 103, in main if rev['userid']: KeyError: 'userid' fatal: stream ends early fast-import: dumping crash report to .git/fast_import_crash_11328 |
||
---|---|---|
wp2git | ||
.gitignore | ||
AUTHORS | ||
LICENSE | ||
README.md | ||
setup.py | ||
version.py |
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.
Quick installation
pip install https://github.com/dlenski/wp2git/archive/v1.0.1.zip
Usage
$ wp2git [--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
is required.
Entirely based on
CyberShadow's version written in the D language.