jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/606660 )
Change subject: [cleanup] show a FutureWarning for decode parameter in Page.title()
......................................................................
[cleanup] show a FutureWarning for decode parameter in Page.title()
decode parameter was not ported from core. Show a FutureWarning that
this parameter an be removed shortly after 12 years of non functional
Change-Id: Icf6ed63e1698de0b9c837584c0eb009f427c6ef1
---
M pywikibot/page/__init__.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Matěj Suchánek: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/page/__init__.py b/pywikibot/page/__init__.py
index 9085f15..6b3f3a5 100644
--- a/pywikibot/page/__init__.py
+++ b/pywikibot/page/__init__.py
@@ -295,7 +295,7 @@
return self._pageid
@deprecated_args(
- decode=None, savetitle='as_url', withNamespace='with_ns',
+ decode=True, savetitle='as_url', withNamespace='with_ns',
withSection='with_section', forceInterwiki='force_interwiki',
asUrl='as_url', asLink='as_link',
allowInterwiki='allow_interwiki')
def title(self, underscore=False, with_ns=True,
--
To view, visit
https://gerrit.wikimedia.org/r/606660
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Icf6ed63e1698de0b9c837584c0eb009f427c6ef1
Gerrit-Change-Number: 606660
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Matěj Suchánek <matejsuchanek97(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)