WikiTeam
WikiTeam XML | |
WikiTeam, we preserve wikis | |
Status | Special case |
Archiving status | In progress... (manual) |
Archiving type | other |
Project source | WikiTeam GitHub |
IRC channel | #wikiteam (on hackint) |
WikiBot | |
IRC bot run by DigitalDragon using WikiTeam3 tools | |
Status | Special case |
Archiving status | In progress... (manual) |
Archiving type | other |
Project source | WikiBot GitHub |
IRC channel | #wikibot (on hackint) |
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 2019, WikiTeam has preserved more than 250,000 wikis.
You can check our collection at Internet Archive, the source code on GitHub and some lists of wikis by status on WikiApiary. There's also a list of not yet archived wikis on WikiApiary.
There are two completely separate projects under the umbrella of WikiTeam:
- The archival of the wikis in the form of XML dumps. This is what most of this page is about.
- The archival of external links found in wikis to WARCs. See the Links warrior project section.
The archival of the wikis themselves to WARCs is also desirable but has not been attempted yet.
Current status
The total number of MediaWiki wikis is unknown, but some estimates exist.
According to WikiApiary, which is the most updated database, there are 21,139 independent wikis (1,718 are semantic) and 4,819 in wikifarms as of 2018-08-02.[1] But it doesn't include 400,000+ Wikia wikis, and the independent list coverage can be improved for sure.
According to Pavlo's list generated in December 2008, there are 20,000 wikis.[2] This list was imported into WikiApiary.
According to WikiIndex, there are 20,698 wikis.[3] The URLs in this project were added to WikiApiary in the past too.
A number of wikifarms have vanished and about 180 are still online.[4][5][6]
Most wikis are small, containing about 100 pages or less, but there are some very large wikis:[7][8]
- By number of pages: Wikimedia Commons (77 million), Wikidata (72 million), English Wikipedia (49 million), DailyWeeKee (35 million), WikiBusiness (22 million).
- By number of files: Wikimedia Commons (57 million), English Wikipedia (800,000).
The oldest dumps are probably some 2001 dumps of Wikipedia when it used UseModWiki.[9][10]
As of 2019, our collection at Internet Archive holds dumps for 250,000 wikis (including independent, wikifarm wikis, some packages of wikis and Wiki[pm]edia).[11]
Wikifarms
There are also wikifarms with hundreds of wikis. Here we only create pages for those we have some special information about that we don't want to lose (like archiving history and tips). For a full list, please use WikiApiary wikifarms main page.
Before backing up a wikifarm, try to update the list of wikis for it. There are Python scripts to generate those lists for many wikifarms.
Wikifarm | Wikis | Status | Dumps | Comments |
---|---|---|---|---|
Battlestar Wiki (site) | 4[12] | Online | 3[13] | Last dumped Mar/Apr 2022, fr.battlestarwiki.ddns.net shows wrong XML when dumping |
BluWiki (site) | Unknown | Offline | 24[14] | |
Communpedia (site) | 1 | Unstable | 6[15] | Appears to no longer use MediaWiki. |
EditThis (site) | 1,357[16] | Unstable | 1,297 WikiDump[17] 1,357 WARC[18] |
Most dumps were done in 2014. This wikifarm is not well covered in WikiApiary.[19] Uses MediaWiki 1.15.1 and therefore is not supported by dumpgenerator.py[20] WARC dumps were done in July 2022. |
elwiki.com (site) | Unknown[21] | Offline | None[22] | Last seen online in 2008.[23] There is no dumps, presumably lost. Perhaps some pages are in the Wayback Machine. |
Fandom (site) | 261,146[24] | Online | 300,000+ | Help:Database download, Their dumping code |
Miraheze (site) | 6,438[25] | Online | ~2,200[26] | Non-profit. Dumps were made in September 2016. Later in 2019 more dumps were uploaded. |
Neoseeker.com (site) | 183[27] | Online | 583[28] | Last dumped in June 2022, sandbox.neoseeker.com is a broken wiki |
Orain (site) | 425[29] | Offline | 380[30][31] | Last seen online in September 2015. Dumps were made in August 2013, January 2014 and August 2015. |
Referata (site) | 156[32] | Unstable | ~80[33][34][35] | Check why there are dozens of wikis without dump. |
ScribbleWiki (site) | 119[36] | Offline | None[37] | Last seen online in 2008.[38] There is no dumps, presumably lost. Perhaps some pages are in the Wayback Machine. |
ShoutWiki (site) | 2,173[39] | Online | ~3,400[40][41] | Last dumped in June 2022. ~100 wikis cannot be archived because they are private. |
Sourceforge | Unknown | Online | 315[42] | |
Telepedia (site) | 37 | Online | 2 | |
TropicalWikis (site) | 187[43] | Offline | 152[44] | Killed off in November 2013. Allegedly pending move to Orain (which became offline too). Data from February 2013 and earlier saved. |
Wik.is (site) | Unknown | Offline | Unknown | Non-MediaWiki. |
Wiki-Site (site) | 2,659[45] | Online | 367 | No uploaded dumps yet. |
WikiHub (site) | Unknown | Offline | 7[46] | |
Wiki.Wiki (site) | 100[47] | Offline | Unknown | Last seen online in 2017. |
WikiForge (site) | Unknown | Online | None | Premium counterpart of WikiTide. |
WikiTide (site) | 174[48] | Online | None | Non-profit. Formed by group of ex-Miraheze volunteers, some who had also volunteered at Orain and TropicalWikis. Self-dumps every month. |
Wikkii (site) | 3,267 | Offline | 1,300[49] | |
YourWiki.net (site) | Unknown | Offline | Unknown |
Wikis to archive
Please add a wiki to WikiApiary if you want someone to archive it sooner or later; or tell us on IRC (#wikiteam (on hackint)) if it's particularly urgent. Remember that there are thousands of wikis we don't even know about yet.
You can help downloading wikis yourself. If you don't know where to start, pick a wiki which was not archived yet from the lists on WikiApiary. Also, you can edit those pages to link existing dumps! You'll help others focus their work.
Examples of huge wikis:
- Wikipedia - arguably the largest and one of the oldest wikis on the planet. It offers public backups (also for sister projects): https://dumps.wikimedia.org
- They have some mirrors but not many.
- The transfer of the dumps to the Internet Archive is automated and is currently managed by Hydriz.
- Wikimedia Commons - a wiki of media files available for free usage. It offers public backups: https://dumps.wikimedia.org
- But there is no image dump available, only the image descriptions
- So we made it! http://archive.org/details/wikimediacommons
- Wikia - a website that allows the creation and hosting of wikis. Doesn't make regular backups.
We're trying to decide which other wiki engines to work on: suggestions needed!
Tools and source code
Official WikiTeam tools
- WikiTeam in GitHub
- dumpgenerator.py to download MediaWiki wikis: python dumpgenerator.py --api=https://www.archiveteam.org/api.php --xml --images
- wikipediadownloader.py to download Wikipedia dumps from download.wikimedia.org: python wikipediadownloader.py
Other
- Scripts of a guy who saved Wikitravel
- OddMuseWiki backup
- UseModWiki: use wget/curl and raw mode (might have a different URL scheme, like this)
- Some wikis: UseMod:SiteList
MediaWiki Dump Generator
The MediaWiki Client Tools' MediaWiki Dump Generator dumpgenerator script, a Python 3.x port of the WikiTeam Python 2.7 dumpgenerator.py script. It is run from the command-line in a terminal.
The XML dump can include full or only most recent page history.
The images dump will contain all file types with associated descriptions.
The siteinfo.json
and SpecialVersion.html
files will contain information about wiki features such as the installed extensions and skins.
User account information won't be preserved.
Full instructions are at the MediaWiki Client Tools' MediaWiki Dump Generator GitHub repository.
WikiTeam3
WikiTeam3 is Save The Web Project's updated fork of MediaWiki Dump Generator. This Python 3 script runs from the command-line in a terminal and will dump the XML and files (including images).
The XML dump can include full or only most recent page history. The images dump will contain all file types with associated descriptions. The siteinfo.json and SpecialVersion.html files will contain information about wiki features such as the installed extensions and skins. Note that user account information won't be preserved.
Installation and usage instructions are at the WikiTeam3 GitHub repository.
- WikiBot is an IRC bot designed to manage running Wikiteam3, DokuWiki and PukiWiki grabs. #wikibot (on hackint)
Wiki dumps
Most of our dumps are in the wikiteam collection at the Internet Archive. If you want an item to land there, just upload it in "opensource" collection and remember the "WikiTeam" keyword, it will be moved at some point. When you've uploaded enough wikis, you'll probably be made a collection admin to save others the effort to move your stuff.
For a manually curated list, visit the download section on GitHub.
There is another site of MediaWiki dumps located here on Scott's website.
Tips
Some tips follow.
Before archiving or asking for archiving, check that the wiki is suitable to be archived:
- Check the size of the wiki, very large wikis might overflow disk or be hard to archive; visit the
Special:SpecialPages
page and click on theSpecial:MediaStatistics
(orSpecial:ListFiles
for older wikis) andSpecial:Statistics
pages. You can also directly enter those pages in the search bar or edit the URL. For non-English wikis, they will redirect to the correct localized title. - Check the date the last upload of the wiki you are after, either in the browser, or on the command-line using the ia tool:
ia search originalurl:*examplewikiname* | jq -r .identifier | xargs ia metadata | jq -r '.metadata.addeddate, .metadata.originalurl'
Don't issue commands you don't understand, especially batch commands which use loops or find and xargs, unless you're ready to lose all the data you got.
When downloading Wikipedia/Wikimedia Commons dumps, pages-meta-history.xml.7z and pages-meta-history.xml.bz2 are the same, but 7z is usually smaller (better compress ratio), so use 7z.
To download a mass of wikis with N parallel threads, just split
your full $list
in N chunks, then start N instances of launcher.py
(tutorial), one for each list
- If you want to upload dumps as they're ready and clean up your storage: at the same time, in a separate window or screen, run a loop of the kind
while true; do ./uploader.py $list --prune-directories --prune-wikidump; sleep 12h; done;
(thesleep
ensure each run has something to do). - If you're using --xmlrevisions, dumpgenerator.py will use much less memory because it won't get giant blobs of XML from Special:Export when a big page has a thousand revisions or more. You can then afford to run 100 instances of launcher.py/dumpgenerator.py with just 2 cores and 8 GiB of RAM. Watch your ulimit for the number of files, individual and total memory: 7z may consume up to 5 GiB of RAM for the biggest dumps (over 10 GiB). CPU usage tends to be lower at the beginning (launcher.py is not yet launching any 7z task because few dumps have completed) and the disk is usually hit harder at a beginning of a resume (launcher.py needs to scan the directories multiple times and dumpgeneratory.py needs to read the lists of titles, XML and image directories). Before increasing concurrency, make sure you have enough resources for those stressful times, not just for the easy ride at the beginning of the dump.
- If you want to go advanced and run really many instances, use
tmux
[1]! Use tmux new-window to launch several instances in the same session. Every now and then, attach to the tmux session and look (ctrl-b f
) for windows stuck on "is wrong", "is slow" or "......" loops, or which are inactive[2]. Even with a couple cores you can run a hundred instances, just make sure to have enough disk space for the occasional huge ones (tens of GB). - If you get closer to a 1000 instances of launcher.py, it may be too much for tmux to handle. You're probably not actually going to look at the output of hundreds of windows anyway. So just run everything in the background with xargs, monitor the crashes and then check the directories manually.
split -a 4 -d -l 10 wikistoarchive.txt wt_ ; ls -1 wt_* | xargs -n1 -I§ -P300 sh -c "python launcher.py § 2>&1 > /dev/null ; "
If you have many wikidump directories, some of the following commands may be useful. Sometimes a dump is complete but the 7z is missing or broken (e.g. for lack of memory), or you're running low on disk and you can't wait for uploader.py to verify the uploads one by one. A hint of a complete dump is the presence of siteinfo.json: that means dumpgenerator thought the XML was done, but an image download may still be running.
- Check errors in 7z files. It's better to avoid running uploader.py on many archives if you're not sure they're fine (for instance if you've not monitored crashes of dumpgenerator.py/launcher.py). It's much harder for other people to download the 7z files from archive.org and check them after they've been uploaded, and the presence of an archive may discourage someone else from making a new one even if the archive is not actually usable.
find -maxdepth 1 -type f -name "*7z" | xargs -n1 -P4 -I§ sh -c "7z l § 2>&1 | grep ^ERROR "
- Delete directories corresponding to a 7z file.
find -maxdepth 1 -name "*wikidump.7z" | cut -d/ -f2 | sed 's,.7z,,g' | xargs -P8 rm -rf
- If launcher.py has failed to create 7z files due to running low on resources, you may make them manually with a loop and lower compression level.
find -maxdepth 1 -name siteinfo.json | cut -d/ -f2 |sed 's,wikidump,,g' | xargs -n1 -P6 -I§ sh -c "cd §wikidump/ ; 7za a -ms=off -mx=3 ../§history.xml.7z §history.xml §titles.txt errors.log index.html config.txt siteinfo.json Special:Version.html ; ../§history.xml.7z ../§wikidump.7z ; 7za a -mx=1 ../§wikidump.7z images/ §images.txt ; "
- Find the biggest ongoing wikidump directories: when you don't have something as nice as ncdu, something simple may suffice, like
du -shc * | grep G
orfind -maxdepth 2 -type f -name "*xml" -size +1G
.
BitTorrent downloads
You can download and seed the torrents from the archive.org collection. Every item has a "Torrent" link.
Old mirrors
- Sourceforge (also mirrored to another 26 mirrors)
- Internet Archive (direct link to directory)
Recursive
We also have dumps for our coordination wikis:
Restoring wikis
Anyone can restore a wiki using its XML dump and images.
Wikis.cc is restoring some sites.
Links warrior project
WikiTeam links | |
We preserve external links used in wikis | |
Status | Special case |
Archiving status | In progress... (dormant since 2017) |
Archiving type | Unknown |
Project source | wikis-grab |
Project tracker | wikis |
IRC channel | #wikiteam (on hackint) |
There is a (currently dormant) warrior project to archive external links used in wikis. The target format for this archival is WARC. The data from this project is uploaded to this collection on the Internet Archive.
References
- ↑ Websites - WikiApiary
- ↑ Pavlo's list of wikis (mediawiki.csv) (backup)
- ↑ WikiIndex Statistics
- ↑ Wikifarms
- ↑ Comparison of wiki hosting services
- ↑ Category:WikiFarm
- ↑ List of largest wikis
- ↑ List of largest wikis in the world
- ↑ Wikimedia Downloads Historical Archives
- ↑ Dump of Nostalgia, an ancient version of Wikipedia from 2001
- ↑ WikiTeam collection at Internet Archive
- ↑ battlestarwiki.org - list of wikis
- ↑ battlestarwikiorg - dumps
- ↑ bluwiki - dumps
- ↑ communpedia - dumps
- ↑ editthis.info - list of wikis
- ↑ editthis.info - dumps
- ↑ editthis.info warcarchives
- ↑ Farm:EditThis
- ↑ editthis.info/1337 - Special:Version
- ↑ elwiki.com - list of wikis
- ↑ elwiki.com - dumps
- ↑ We're sorry about the downtime we've been having lately
- ↑ fandom.com - list of wikis
- ↑ miraheze.org - list of wikis
- ↑ miraheze - dumps
- ↑ neoseeker.com - list of wikis
- ↑ neoseeker.com - dumps
- ↑ orain.com - list of wikis
- ↑ orain - dumps
- ↑ Orain wikifarm dump (August 2013)
- ↑ referata.com - list of wikis
- ↑ referata.com - dumps
- ↑ Referata wikifarm dump 20111204
- ↑ Referata wikifarm dump (August 2013)
- ↑ scribblewiki.com - list of wikis
- ↑ scribblewiki.com - dumps
- ↑ What is ScribbleWiki?
- ↑ shoutwiki.com - list of wikis
- ↑ shoutwiki.com - dumps
- ↑ ShoutWiki wikifarm dump
- ↑ sourceforge - dumps
- ↑ tropicalwikis.com - list of wikis
- ↑ tropicalwikis.com - dumps
- ↑ wiki-site.com - list of wikis
- ↑ wikihub - dumps
- ↑ wiki.wiki - list of wikis
- ↑ list of wikis
- ↑ wikki.com - dumps
External links
- WikiTeam on GitHub
- MediaWiki Client Tools on GitHub
- WikiIndex - an index of wikis
- S23 wikistats - stats for over 40,000 wikis
- Comparison of wiki farms
- Wikipedia Archive
v · t · e Knowledge and Wikis | ||
---|---|---|
Software |
DokuWiki · MediaWiki · MoinMoin · Oddmuse · PukiWiki · UseModWiki · YukiWiki | |
Wikifarms |
atwiki · Battlestar Wiki · BluWiki · Communpedia · EditThis · elwiki.com · Fandom · Miraheze · Neoseeker.com · Orain · Referata · ScribbleWiki · Seesaa · ShoutWiki · SourceForge · TropicalWikis · Wik.is · Wiki.Wiki · Wiki-Site · Wikidot · WikiHub · Wikispaces · WikiForge · WikiTide · Wikkii · YourWiki.net | |
Wikimedia |
Wikipedia · Wikimedia Commons · Wikibooks · Wikidata · Wikinews · Wikiquote · Wikisource · Wikispecies · Wiktionary · Wikiversity · Wikivoyage · Wikimedia Incubator · Meta-Wiki | |
Other |
Anarchopedia · Citizendium · Conservapedia · Creation Wiki · EcuRed · Enciclopedia Libre Universal en Español · GNUPedia · Moegirlpedia · Nico Nico Pedia · Nupedia · OmegaWiki · OpenStreetMap · Pixiv Encyclopedia | |
Indexes and stats |