Index: replace.py =================================================================== RCS file: /cvsroot/pywikipediabot/pywikipedia/replace.py,v retrieving revision 1.111 diff -r1.111 replace.py 45a46,47 > -summary:XYZ - Set the summary message text for the edit to XYZ, bypassing the > predefined message texts with original and replacements inserted. 100a103 > 'ksh':u'Bot: hät outomatesch Täx jetuusch: %s', 285a289,290 > # No summary on command line. > summary = None 356a362,364 > elif arg.startswith('-summary:'): > summary = arg[9:]; > wikipedia.setAction(arg[9:]); 362c370,371 < wikipedia.setAction(wikipedia.translate(wikipedia.getSite(), msg ) % ' (-' + commandline_replacements[0] + ' +' + commandline_replacements[1] + ')') --- > if (summary == None): > wikipedia.setAction(wikipedia.translate(wikipedia.getSite(), msg ) % ' (-' + commandline_replacements[0] + ' +' + commandline_replacements[1] + ')')