Hi,
About a month ago I transferred from a Wikia wiki
(health-and-medicine.wikia.com) to a local wiki and much of what I
did was I went to Special:Export on Wikia, entered major categories
and exported all pages belonging to these categories and then went
to Special:Import on my local wiki to import the XML files the Wikia
export had generated (XML dumps weren't a viable option as
Special:Import couldn't handle the massive file generated from the
dumps). This Wikia wiki has several hundred pictures that I still
need to upload to my local wiki and I was wondering if there was a
Pywiki script that could do this job for me, or at least do it for
files that are linked in the pages I have so far imported (i.e.,
files mentioned in broken file links). I have user_config.py already
setup for working with these two wikis (i.e., content:
# -*- coding: utf-8 -*-
family = 'local'
mylang = 'en'
usernames['hmwiki']['hmwiki'] = u'MyFirstBot'
usernames['local']['en'] = u'MyFirstBot'
where hmwiki has been defined via generate_family_file.py) if you're
wondering.
I am a noob when it comes to python and Pywikibot so if you have an
answer I'd appreciate it if you could boil it down into simple lines
of code to run in the command prompt (I'm on 64 bit Windows 7 SP1).
Thanks for your time,
Brenton