Package pywikipedia :: Module upload
[show private | hide private]
[frames | no frames]

Module pywikipedia.upload

Script to upload images to wikipedia.

Arguments:

  -keep    Keep the filename as is

  -wiki:xx The page is not a URL or filename, but the name of the
           file on another wiki of the same family, namely xx:.
           Do NOT include 'Image:' or similar as name of the file.

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

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

Classes
UploadRobot  

Function Summary
  main(args)

Imported modules:
pywikipedia.config, pywikipedia.lib_images, os, re, sys, pywikipedia.wikipedia
Imported variables:
__version__
Generated by Epydoc 2.1 on Sun Jul 03 17:07:33 2005 http://epydoc.sf.net