20 lines
671 B
ReStructuredText
20 lines
671 B
ReStructuredText
When you install this from git, you will need to first clone the repository::
|
|
|
|
git clone git://projects.mako.cc/mediawiki_dump_tools
|
|
|
|
From within the repository working directory, initiatlize and set up the
|
|
submodule like::
|
|
|
|
git submodule init
|
|
git submodule update
|
|
|
|
|
|
Wikimedia dumps are usually in a compressed format such as 7z (most common),
|
|
gz, or bz2. Wikiq uses your computer's compression software to read these
|
|
files. Therefore wikiq depends on `7za`, `gzcat`, and `zcat`.
|
|
|
|
There are also a series of Python dependencies. You can install these using pip
|
|
with a command like:
|
|
|
|
pip3 install mwbase mwreverts mwxml mwtypes mwcli mwdiffs mwpersistence pandas
|