2
0
mirror of https://github.com/WikiTeam/wikiteam synced 2024-11-10 13:10:27 +00:00
Go to file
2014-09-14 11:59:17 -04:00
batchdownload Issue 97: Add new siteinfo.json to the archived 7z 2014-06-26 11:11:19 +02:00
listsofwikis Added information 2014-07-20 12:36:25 +01:00
research/paper-wikiteam-2014 instructions to compile LaTeX paper; 2014-01-24 20:08:16 +00:00
testing added test_mwGetAPIAndIndex; commented slow/404 error wikis; 2014-07-13 12:34:09 +02:00
.gitignore ignoring .pyc files 2014-06-30 22:57:09 +02:00
commonschecker.py Wrong else: missing indentation, endless loop 2014-07-22 11:03:21 +02:00
commonsdownloader.py Issue #66 : try your.org first 2014-07-21 10:39:08 +02:00
commonssql.py Issue 85: more cross-platform shebang on all scripts 2014-02-26 23:22:53 +00:00
dumpgenerator.py Try getting index.php from siteinfo API 2014-09-14 11:59:17 -04:00
gui.py Issue 85: more cross-platform shebang on all scripts 2014-02-26 23:22:53 +00:00
LICENSE renaming gpl.txt to LICENSE 2014-06-25 16:03:15 +02:00
README.md FOUC are bad 2014-07-31 09:30:22 +02:00
requirements.txt Update requirements file 2014-07-03 12:40:12 -04:00
uploader.py Issue 85: more cross-platform shebang on all scripts 2014-02-26 23:22:53 +00:00
wikiadownloader.py Issue 85: more cross-platform shebang on all scripts 2014-02-26 23:22:53 +00:00
wikipediadownloader.py improving args parsing and help 2014-06-25 17:32:24 +02:00

WikiTeam

We archive wikis, from Wikipedia to tiniest wikis

WikiTeam software is a set of tools for archiving wikis. They work on MediaWiki wikis, but we want to expand to other wiki engines. As of June 2014, WikiTeam has preserved more than 13,000 stand-alone wikis, several wikifarms, regular Wikipedia dumps and 34 TB of Wikimedia Commons images.

There are thousands of wikis in the Internet. Every day some of them are no longer publicly available and, due to lack of backups, lost forever. Millions of people download tons of media files (movies, music, books, etc) from the Internet, serving as a kind of distributed backup. Wikis, most of them under free licenses, disappear from time to time because nobody grabbed a copy of them. That is a shame that we would like to solve.

WikiTeam is the Archive Team (GitHub) subcommittee on wikis. It was founded and originally developed by Emilio J. Rodríguez-Posada, a Wikipedia veteran editor and amateur archivist. Many people have helped by sending suggestions, reporting bugs, writing documentation, providing help in the mailing list and making wiki backups. Thanks to all, especially to: Federico Leva, Alex Buie, Scott Boyd, Hydriz, Platonides, Ian McEwen, Mike Dupont and balr0g.

Documentation Source code Download available backups Community Follow us on Twitter

Quick guide

This is a very quick guide for the most used features of WikiTeam tools. For further information, read the tutorial and the rest of the documentation. You can also ask in the mailing list.

Requirements

Confirm you satisfy the requirements:

pip install --upgrade -r requirements.txt

or, if you don't have enough permissions for the above,

pip install --user --upgrade -r requirements.txt

Download any wiki

To download any wiki, use one of the following options:

python dumpgenerator.py http://wiki.domain.org --xml --images (complete XML histories and images)

If the script can't find itself the API and/or index.php paths, then you can provide them:

python dumpgenerator.py --api=http://wiki.domain.org/w/api.php --xml --images

python dumpgenerator.py --api=http://wiki.domain.org/w/api.php --index=http://wiki.domain.org/w/index.php --xml --images

If you only want the XML histories, just use --xml. For only the images, just --images. For only the current version of every page, --xml --curonly.

You can resume an aborted download:

python dumpgenerator.py --api=http://wiki.domain.org/w/api.php --xml --images --resume --path=/path/to/incomplete-dump

See more options:

python dumpgenerator.py --help

Download Wikimedia dumps

For downloading Wikimedia XML dumps (Wikipedia, Wikibooks, Wikinews, etc):

python wikipediadownloader.py (download all projects)

See more options:

python wikipediadownloader.py --help

Download Wikimedia Commons images

There is a script for this, but we have uploaded the tarballs to Internet Archive, so it's more useful to reseed their torrents than to re-generate old ones with the script.