Module Expr Str Assign NameStore Str Import alias Import alias alias alias FunctionDef arguments args defaults body Assign NameStore ListLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args defaults body For NameStore Call NameLoad body Print BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr body Print BinOpMult Str Num Print BinOpMod Str Call AttributeLoad NameLoad attr TryExcept body Print Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Print Str ExceptHandler type AttributeLoad NameLoad attr body Print Str Assign NameStore Call AttributeLoad NameLoad attr Str If Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body TryExcept body Expr Call NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Raise orelse Expr Call AttributeLoad NameLoad attr
N/A N/A 
Script to transfer many images from one wiki to another. Your
language (which can be changed with the -lang: argument) is the
language to upload to. The images should be in a file as interwiki
links (that is in the form [[en:Image:myimage.png]]); they do not
need to be all from the same Wiki. This file can be created with
extract_wikilinks.py.

Arguments:

  -lang:xx Log in to the given wikipedia language to upload to

The first other argument is taken to be the name of the file you get
the links from; other arguments are ignored.
 N/A __version__ $Id: getimages.py,v 1.15 2005/12/21 17:51:26 wikipedian Exp $ N/A sys N/A wikipedia lib_images pagegenerators getfn N/A N/A N/A N/A N/A fns N/A N/A arg N/A N/A sys argv N/A 1 N/A N/A arg N/A N/A wikipedia argHandler arg getimages N/A arg N/A N/A N/A N/A fns append arg N/A N/A N/A len fns 0 N/A N/A N/A N/A fns append N/A raw_input Please enter a filename:  N/A fns N/A main N/A N/A N/A N/A N/A filename N/A getfn N/A N/A N/A Handling images from %s filename N/A gen N/A N/A pagegenerators TextfilePageGenerator filename N/A image gen N/A N/A N/A N/A image isImage N/A N/A N/A - 50 N/A N/A Image: %s N/A N/A image title N/A N/A N/A N/A N/A image get N/A N/A N/A N/A wikipedia NoPage N/A N/A Description empty. N/A N/A N/A wikipedia IsRedirectPage N/A N/A Description page is redirect?! N/A answer N/A N/A wikipedia input Copy this image (y/N)? N/A N/A N/A N/A N/A answer lower startswith y N/A N/A N/A N/A lib_images transfer_image image N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A main N/A N/A N/A N/A N/A N/A wikipedia stopme N/A N/A N/A N/A N/A wikipedia stopme