jenkins-bot has submitted this change and it was merged.
Change subject: Mark setAction method as deprecated ......................................................................
Mark setAction method as deprecated
comment parameter for page saving methods should be used instead
Change-Id: I80db495c7d52b7fda96e76219dc5c573cfa0a446 --- M pywikibot/__init__.py 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: John Vandenberg: Looks good to me, but someone else must approve Ricordisamoa: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/__init__.py b/pywikibot/__init__.py index 7826fec..c9594e4 100644 --- a/pywikibot/__init__.py +++ b/pywikibot/__init__.py @@ -489,6 +489,7 @@ link_regex = re.compile(r'[[(?P<title>[^]|[<>{}]*)(|.*?)?]]')
+@deprecated("comment parameter for page saving method") def setAction(s): """Set a summary to use for changed page submissions""" config.default_edit_summary = s
pywikibot-commits@lists.wikimedia.org