John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/275129

Change subject: Update config.default_edit_summary
......................................................................

Update config.default_edit_summary

Pywikibot master is now 3.0, but config.default_edit_summary
is reporting 'Pywikibot v.2'.  Set the config variable to

    'Pywikibot ' + __release__

Change-Id: I189220154db22abe608e2d683eb0d395066f928c
---
M pywikibot/config2.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/29/275129/1

diff --git a/pywikibot/config2.py b/pywikibot/config2.py
index 7fc9d7a..23bdcd8 100644
--- a/pywikibot/config2.py
+++ b/pywikibot/config2.py
@@ -52,6 +52,7 @@
 
 from warnings import warn
 
+from pywikibot import __release__
 from pywikibot.logging import error, output, warning
 from pywikibot.tools import PY2
 
@@ -218,7 +219,7 @@
 # edit summary to use if not supplied by bot script
 # WARNING: this should NEVER be used in practice, ALWAYS supply a more
 #          relevant summary for bot edits
-default_edit_summary = u'Pywikibot v.2'
+default_edit_summary = 'Pywikibot ' + __release__
 
 # What permissions to use to set private files to it
 # such as password file.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I189220154db22abe608e2d683eb0d395066f928c
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jay...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to