Manual:Pywikibot/imagetransfer.py

Imagetransfer.py is a Script of the Pywikipedia Bot framework. It is used to copy images to Wikimedia Commons, or to another wiki.

Syntax:

python imagetransfer.py [common-arguments] pagename [-interwiki] [-tolang:xx] [-tofamily:yy]

Arguments:

-interwiki  Look for images in pages found through interwiki links.

-tolang:xx  Copy the image to the wiki in language xx

-tofamily:yy Copy the image to a wiki in the family yy

-file:zz    Upload many files from textfile:

If pagename is an image description page, offers to copy the image to the target site. If it is a normal page, it will offer to copy any of the images used on that page, or if the -interwiki argument is used, any of the images used on a page reachable via interwiki links.