http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10172
Revision: 10172 Author: xqt Date: 2012-05-03 10:51:13 +0000 (Thu, 03 May 2012) Log Message: ----------- emailuser to block during -simulate
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2012-05-03 10:49:55 UTC (rev 10171) +++ trunk/pywikipedia/wikipedia.py 2012-05-03 10:51:13 UTC (rev 10172) @@ -7777,7 +7777,7 @@ if not getSite().has_api(): raise NotImplementedError('-simulate option is implemented for API only') config.actions_to_block = ['edit', 'watch', 'move', 'delete', - 'undelete', 'protect'] + 'undelete', 'protect', 'emailuser'] # global debug option for development purposes. Normally does nothing. elif arg == '-debug': debug = True