Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

User:Dismounted Feudal Knight/Archiving/Wiki copies

From TWC Wiki
< User:Dismounted Feudal Knight‎ | Archiving
Revision as of 04:43, 4 October 2023 by Dismounted Feudal Knight (talk | contribs) (regarding wiki copies)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The wiki is the simplest part of TWC to preserve on your own. You run a script and let it go until it's done. Best done if you're reasonably confident in your internet connection, start early if unsure. To my knowledge this doesn't create particular strain on TWC, but avoid heavy use. Weekly at most in a perfect world, I will personally take longer depending how many updates here there are. Feel free to add yourself to the list of known copies.

  • 06/28/23 by DFK (yeah, I'm due)
  • I'm bravely running this while making edits so stay tuned for another entry. Which realistically means it might just miss a few things like this page.

To run this script you need Python 2.7 installed. You can get it from python.org here.

The script is hosted on github here. Copy the contents into a file called dumpgenerator.py.

Open your command prompt, and change your current directory to where you put the script (lifewire guide if this sounds like magic). Then run:

python dumpgenerator.py --api=https://wiki.twcenter.net/api.php --xml --images

It will collect over 10,000 pages, so go about your day. It sounds like a lot but in the wiki sphere, eeeeh... :p

For extra chivalry, upload to archive.org to ensure your copy does not fade into the wind if anything happens.

What doesn't save

If the wiki must be reuploaded in the future, accounts and general settings must start over.