jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/430048 )
Change subject: [Bugfix] Provide correct argument to Page.save ......................................................................
[Bugfix] Provide correct argument to Page.save
Page.put uses minorEdit, whereas Page.save uses minor.
Bug: T193467 Change-Id: Id029d989c403bd18885ba069656cf5d821e80e31 --- M scripts/add_text.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/add_text.py b/scripts/add_text.py index 22c8069..044a361 100755 --- a/scripts/add_text.py +++ b/scripts/add_text.py @@ -106,7 +106,7 @@ page.text = new try: page.save(summary=summary, asynchronous=asynchronous, - minorEdit=page.namespace() != 3) + minor=page.namespace() != 3) except pywikibot.EditConflict: pywikibot.output('Edit conflict! skip!') except pywikibot.ServerError:
pywikibot-commits@lists.wikimedia.org