Manual:Pywikibot/imagecopy.py

From MediaWiki.org
Jump to: navigation, search
Wikimedia-logo-meta.png

This page was moved from MetaWiki.
It probably requires cleanup – please feel free to help out. In addition, some links on the page may be red; respective pages might be found at Meta. Remove this template once cleanup is complete.

Bug blank.svg
Git repository of Wikimedia has this file:
Pwb icon.svg
Pywikibot
scripts
Quick overview
Quick Start Guide
Installation (Mac)
user_config.py

Wikidata
Non-Wikimedia wikis
Basic use
Scripts
Development
Further help

v  d  e

This is a script which copies images from a wikimedia wiki to Commons.

The script requires the python-tk (aka Tkinter) package, which depends on many X-server packages.

Parameters[edit | edit source]

  • -page:Image:<imagename> — work with a single image on a single page
  • -newimages:n — work with the n number of new images
  • -cat:<categoryname> — work in the specific category
  • -transcludes:<template> — work with all images transcluding a template

Global arguments are available as well.