Difference between revisions of "User:Dismounted Feudal Knight/Archiving/Wiki copies"
(regarding wiki copies) |
(long overdue) |
||
Line 1: | Line 1: | ||
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. | 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 | + | * 06/28/23 (dfk) |
− | * | + | * 10/04/23 (dfk) |
+ | * 12/13/23 (dfk) | ||
+ | |||
+ | ==How to do this?== | ||
To run this script you need '''Python 2.7''' installed. You can get it from python.org [https://www.python.org/download/releases/2.7/ here]. | To run this script you need '''Python 2.7''' installed. You can get it from python.org [https://www.python.org/download/releases/2.7/ here]. | ||
Line 12: | Line 15: | ||
<pre>python dumpgenerator.py --api=https://wiki.twcenter.net/api.php --xml --images</pre> | <pre>python dumpgenerator.py --api=https://wiki.twcenter.net/api.php --xml --images</pre> | ||
− | It will collect over 10,000 pages, so go about your day. | + | 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. | For extra chivalry, upload to archive.org to ensure your copy does not fade into the wind if anything happens. | ||
− | ==What doesn't save== | + | ===What doesn't save=== |
If the wiki must be reuploaded in the future, accounts and general settings must start over. | If the wiki must be reuploaded in the future, accounts and general settings must start over. |
Revision as of 09:54, 13 December 2023
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)
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.