jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/593897 )
Change subject: [bugfix] use provided edit summary ......................................................................
[bugfix] use provided edit summary
This solves regression of 7ab93f76e71a83312b9ea61
Bug: T251669 Change-Id: I24b99fa793663638cc91eaf1f837db41ce93e790 --- M scripts/replace.py 1 file changed, 3 insertions(+), 2 deletions(-)
Approvals: Matěj Suchánek: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/replace.py b/scripts/replace.py index b56ce39..f413556 100755 --- a/scripts/replace.py +++ b/scripts/replace.py @@ -948,7 +948,7 @@ elif arg.startswith('-addcat:'): options['addcat'] = arg[8:] elif arg.startswith('-summary:'): - options['summary'] = arg[9:] + edit_summary = arg[9:] elif arg.startswith('-automaticsummary'): edit_summary = True elif arg.startswith('-manualinput'): @@ -1156,7 +1156,8 @@ pywikibot.bot.suggest_help(missing_generator=True) return
- bot = ReplaceRobot(gen, replacements, exceptions, site=site, **options) + bot = ReplaceRobot(gen, replacements, exceptions, site=site, + summary=edit_summary, **options) site.login() bot.run()
pywikibot-commits@lists.wikimedia.org