Manual:Pywikibot/imagetransfer.py

In other languages: en - ru

Imagetransfer.py is a Pywikipediabot script that copies images from one wiki to another wiki. To transfer image to Wikimedia Commons use imagecopy.py.

Usage
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.