jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/618233 )
Change subject: [cleanup] Show a FutureWarning for deprecated XmlDumpTemplatePageGenerator class ......................................................................
[cleanup] Show a FutureWarning for deprecated XmlDumpTemplatePageGenerator class
Change-Id: Id94692fc623ba02d6f2889af257627ca49810bd9 --- M scripts/template.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: D3r1ck01: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/template.py b/scripts/template.py index 2dab17b..78accae 100755 --- a/scripts/template.py +++ b/scripts/template.py @@ -106,7 +106,7 @@
""" # -# (C) Pywikibot team, 2003-2019 +# (C) Pywikibot team, 2003-2020 # # Distributed under the terms of the MIT license. # @@ -125,7 +125,7 @@ from scripts.replace import ReplaceRobot as ReplaceBot
-@deprecated('XMLDumpPageGenerator', since='20151109') +@deprecated('XMLDumpPageGenerator', since='20151109', future_warning=True) class XmlDumpTemplatePageGenerator(XMLDumpPageGenerator):
"""
pywikibot-commits@lists.wikimedia.org