MediaWiki  1.30.0
captcha-old.py File Reference

Go to the source code of this file.

Namespaces

 captcha-old
 

Functions

def captcha-old.gen_captcha (text, fontname, fontsize, file_name)
 
def captcha-old.gen_subdir (basedir, md5hash, levels)
 
def captcha-old.pick_word (words, blacklist, verbose, nwords, min_length, max_length)
 
def captcha-old.read_wordlist (filename)
 
def captcha-old.run_in_thread (object)
 
def captcha-old.try_pick_word (words, blacklist, verbose, nwords, min_length, max_length)
 
def captcha-old.wobbly_copy (src, wob, col, scale, ang)
 

Variables

 captcha-old.action
 
 captcha-old.args
 
def captcha-old.blacklist = read_wordlist(opts.blacklist)
 
int captcha-old.chunks = 1
 
 captcha-old.count = opts.count
 
list captcha-old.data = []
 
 captcha-old.default
 
 captcha-old.dirs = opts.dirs
 
 captcha-old.fill = opts.fill
 
 captcha-old.font = opts.font
 
 captcha-old.fontsize = opts.font_size
 
 captcha-old.help
 
 captcha-old.key = opts.key
 
 captcha-old.metavar
 
 captcha-old.nonalpha = re.compile('[^a-z]')
 
 captcha-old.opts
 
 captcha-old.output = opts.output
 
 captcha-old.p = multiprocessing.Pool(threads);
 
 captcha-old.parser = OptionParser()
 
 captcha-old.script_dir = os.path.dirname(os.path.realpath(__file__))
 
 captcha-old.threads = opts.threads
 
 captcha-old.type
 
 captcha-old.verbose = opts.verbose
 
 captcha-old.wordlist = opts.wordlist
 
 captcha-old.words = None