Manual:Pywikibot/upload.py

Script to upload images to wikipedia.

Usage
python upload.py [Global-arguments] [-keep] [-noverify] [URL-or-filename [description-text]]

Arguments
If any other arguments are given, the first is the URL or filename to upload, and the rest is a proposed description to go with the upload. If none of these are given, the user is asked for the file or URL to upload. The bot will then upload the image to the wiki.

The script will ask for the location of an image, if not given as a parameter, and for a description.