jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/719648 )
Change subject: Drop piprop from meta=proofreadinfo API call
......................................................................
Drop piprop from meta=proofreadinfo API call
Because the "pi" prefix is already in use by PageImages, this module
is being changed to use a prefix of prpi instead. This should not be
a breaking change in either direction because the default value of
the parameter included all of the current prop values.
Because the default parameter for piprop was always
'namespaces|qualitylevels', it is safe to remove this parameter
entriely, thus avoiding an unrecognized parameter warning.
Bug: T290585
Change-Id: I0f269e06a10c75c296d9c126228970b7ccff72d4
---
M pywikibot/site/_extensions.py
1 file changed, 1 insertion(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/site/_extensions.py b/pywikibot/site/_extensions.py
index 634cff7..6a1d2df 100644
--- a/pywikibot/site/_extensions.py
+++ b/pywikibot/site/_extensions.py
@@ -103,8 +103,7 @@
pirequest = self._request(
expiry=pywikibot.config.API_config_expiry
if expiry is False else expiry,
- parameters={'action': 'query', 'meta':
'proofreadinfo',
- 'piprop': 'namespaces|qualitylevels'}
+ parameters={'action': 'query', 'meta':
'proofreadinfo'}
)
pidata = pirequest.submit()
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/719648
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I0f269e06a10c75c296d9c126228970b7ccff72d4
Gerrit-Change-Number: 719648
Gerrit-PatchSet: 3
Gerrit-Owner: Legoktm <legoktm(a)debian.org>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-CC: Urbanecm <martin.urbanec(a)wikimedia.cz>
Gerrit-MessageType: merged