Framawiki has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/359812 )

Change subject: Remove unnecessary botflag=True and minorEdit=True
......................................................................

Remove unnecessary botflag=True and minorEdit=True

It's default parameters

Change-Id: I368d8f6b9e3c5a1f5f7541cea359d48142fa3a9e
---
M scripts/category.py
M scripts/djvutext.py
M scripts/wikisourcetext.py
3 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/12/359812/1

diff --git a/scripts/category.py b/scripts/category.py
index d7854da..6082fc3 100755
--- a/scripts/category.py
+++ b/scripts/category.py
@@ -387,7 +387,7 @@
                                            {'newcat': 
catpl.title(withNamespace=False)})
             try:
                 self.userPut(self.current_page, old_text, text,
-                             summary=comment, minor=True, botflag=True)
+                             summary=comment)
             except pywikibot.PageSaveRelatedError as error:
                 pywikibot.output(u'Page %s not saved: %s'
                                  % (self.current_page.title(asLink=True),
diff --git a/scripts/djvutext.py b/scripts/djvutext.py
index f27e84c..8c8ff5b 100644
--- a/scripts/djvutext.py
+++ b/scripts/djvutext.py
@@ -121,7 +121,7 @@
             pywikibot.output('Page %s already exists, not adding!' % page)
         else:
             self.userPut(page, old_text, new_text,
-                         summary=summary, minor=True, botflag=True)
+                         summary=summary)
 
 
 def main(*args):
diff --git a/scripts/wikisourcetext.py b/scripts/wikisourcetext.py
index de5f154..8081a65 100644
--- a/scripts/wikisourcetext.py
+++ b/scripts/wikisourcetext.py
@@ -88,7 +88,7 @@
             pywikibot.output('Page %s already exists, not adding!' % page)
         else:
             self.userPut(page, old_text, new_text,
-                         summary=summary, minor=True, botflag=True,
+                         summary=summary,
                          show_diff=self.getOption('showdiff'))
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/359812
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I368d8f6b9e3c5a1f5f7541cea359d48142fa3a9e
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Framawiki <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to