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 08:22, 10 April 2024 by Dismounted Feudal Knight (talk | contribs) (I was behind on reporting, archive.org copies still pending)
(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 (dfk)
  • 10/04/23 (dfk)
  • 12/13/23 (dfk)
  • 01/12/24 (dfk)
  • 04/07/24 (dfk)

How to do this?

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...

You can make a batch script by creating a file called whateveryouwant.bat and putting the above command in there. Make your copy, forget for a few months, go 'oh crap' and run again as needed.

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.