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.
Function Summary |
|
main(args)
|
- Imported modules:
-
pywikipedia.config
,
pywikipedia.lib_images
,
os
,
re
,
sys
,
pywikipedia.wikipedia
- Imported variables:
-
__version__