http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10896
Revision: 10896 Author: drtrigon Date: 2013-01-12 16:22:03 +0000 (Sat, 12 Jan 2013) Log Message: ----------- minor docu changes from trunk
Modified Paths: -------------- branches/rewrite/pywikibot/bot.py
Modified: branches/rewrite/pywikibot/bot.py =================================================================== --- branches/rewrite/pywikibot/bot.py 2013-01-12 16:17:54 UTC (rev 10895) +++ branches/rewrite/pywikibot/bot.py 2013-01-12 16:22:03 UTC (rev 10896) @@ -595,12 +595,12 @@
-log:xyz Enable the logfile, using 'xyz' as the filename.
+-nolog Disable the logfile (if it is enabled by default). + -maxlag Sets a new maxlag parameter to a number of seconds. Defer bot edits during periods of database server lag. Default is set by config.py
--nolog Disable the logfile (if it is enabled by default). - -debug:item Enable the logfile and include extensive debugging data -debug for component "item" (for all components if the second form is used). @@ -611,6 +611,10 @@ -verbose Have the bot provide additional console output that may be -v useful in debugging.
+-simulate Disables writing to the server. Useful for testing and + debugging of new code (if given, doesn't do any real + changes, but only shows what would have been changed). + ''' % modname try: module = __import__('%s' % modname)
pywikipedia-svn@lists.wikimedia.org