Manual talk:Pywikibot/

Jump to navigation Jump to search
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of (even if they share the same username).

Transfer means[edit]

When is used, does it relay the file being transferred via a download to the user and then reupload; or does it take it direct from one wiki to another? I am looking to move large djvu files from Commons to Wikisource, and having them download and upload is just going to slow the process significantly. Thanks. billinghurst sDrewth 12:41, 4 August 2010 (UTC)


Error message:

pywikibot.exceptions.NoPage: (dead:en, u'[[en:Http:// Plaza]]', 'Page does not exist. In rare cases, if you are certain the page does exist, look into overriding family.RversionTab')

(I modified the actual url)

pywikipedia\ has the following:

    def RversionTab(self, code):
        """Change this to some regular expression that shows the page we
        found is an existing page, in case the normal regexp does not work."""
        return None

So how do I change this?

Adamtheclown 10:54, 19 November 2010 (UTC)

I changed it to:
return True
And I still get the same error message. Adamtheclown 11:01, 19 November 2010 (UTC)

Importing all images from another wiki[edit]

I'm working on importing all images from a Wikia wiki to a Miraheze wiki. Wikia refused to provide the images when I copied the wiki. So now I have tons of broken image links in the new location. I'm told this script can help. But I can't figure it out. I have a family created and the user config file set up. But I can't figure out the command line needed. Does support importing all images or is it mainly intended for a handful? Will (Talk - contribs) 09:59, 10 October 2017 (UTC)