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,
pywikibot-commits@lists.wikimedia.org