jenkins-bot merged this change.
[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(-)
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 change 606660. To unsubscribe, or for help writing mail filters, visit settings.