Jump to content

Wikipedia:Scripts/ImageFileMigrator

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Mifter (talk | contribs) at 23:15, 27 October 2009 (Reverted edits by 87.100.18.15 (talk) to last version by Dbooksta). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This script will download all Files from a wiki to ./images/ and then upload them to another wiki.

Download and save each of the following four source files. Edit Main.py to list source and destination wikis. Then run Main.py.

/ImageDownloader.py
/MultipartPostHandler.py
/Wiki.py
/Main.py