jenkins-bot has submitted this change and it was merged.
Change subject: [IMPROV] APISite: Don't query inprop for redirects ......................................................................
[IMPROV] APISite: Don't query inprop for redirects
The `inprop` entries for `subjectid` and `talkid` were nowhere used so we don't actually need to query them. And the protection can be loaded afterwards and don't need to be forced in each response.
Change-Id: I2b2482973aa18451693e0f92523bebd38661b82d --- M pywikibot/site.py 1 file changed, 0 insertions(+), 1 deletion(-)
Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/site.py b/pywikibot/site.py index dab70e5..b45d354 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -2914,7 +2914,6 @@ query = self._simple_request( action='query', prop='info', - inprop=['protection', 'talkid', 'subjectid'], titles=title, redirects=True) result = query.submit()