It is, actually. Sorry, I should have separated the two files better, but the top is config.py, then the rest of it is user-config.py
On Thu, Jul 14, 2005 at 11:36:12AM +0200, Andre Engels wrote:
Put the line usernames['wikipedia']['en'] = 'VFD Bot' into your user-config.py instead of config.py, and everything should be fine.
Andre Engels
On 7/14/05, Jason Y. Lee jylee@cs.ucr.edu wrote:
The copy is straight out from CVS.
Files:
config.py (top part)
# -*- coding: utf-8 -*- # # (C) Rob W.W. Hooft, 2003 # # Distribute under the terms of the PSF license. # __version__ = '$Id: config.py,v 1.52 2005/07/12 00:18:47 wikipedian Exp $'
import os, re, sys
user-config.py
# -*- coding: utf-8 -*- ############## ACCOUNT SETTINGS ##############
# The family of sites we are working on. wikipedia.py will import # families/xxx_family.py so if you want to change this variable, # you need to write such a file. family = 'wikipedia' # The language code of the site we're working on. mylang = 'en'
# The dictionary usernames should contain a username for each site where you # have a bot account. Please set your usernames by adding such lines to your # user-config.py: # # usernames['wikipedia']['de'] = 'myGermanUsername' # usernames['wiktionary']['en'] = 'myEnglishUsername' # usernames = {} usernames['wikipedia']['en'] = 'VFD Bot'
############## USER INTERFACE SETTINGS ##############
# the encoding that's used in the user's console, i.e. how strings are encoded # when they are read by raw_input(). On Windows systems' DOS box, this should # be 'cp850' ('cp437' for older versions). Linux users might try 'iso-8859-1' # or 'utf-8'. If this variable is set to None, the default is 'cp850' on # windows, and iso-8859-1 on other systems console_encoding = None
# tkinter isn't yet ready userinterface = 'terminal'
# Should the system bell be ringed if the bot expects user input? ring_bell = False
-- Jason Y. Lee AKA AllyUnion _______________________________________________ Wikibots-l mailing list Wikibots-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikibots-l
Wikibots-l mailing list Wikibots-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikibots-l