jenkins-bot merged this change.

View Change

Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
Disable the need_extension('WikibaseClient') decorator on unconnected_pages

Pywikibot caches the result of `CachedRequest`s and it seems that AppVeyor
is retaining that cache between project builds. This could also be true for
bot users.

This patch temporarily disables the need_extension decorator so that the
check is not performed. It should be OK to reenable it after 30 days when
the cache expires.

Bug: T198454
Change-Id: If64d7e48c71a79a3ff2ca63c71e1ccd9446cc96b
---
M pywikibot/site.py
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pywikibot/site.py b/pywikibot/site.py
index d2455bc..57a33dc 100644
--- a/pywikibot/site.py
+++ b/pywikibot/site.py
@@ -6765,7 +6765,7 @@
total=total)

@deprecated_args(step=None)
- @need_extension('WikibaseClient')
+ # @need_extension('WikibaseClient') T198454
def unconnected_pages(self, total=None):
"""Yield Page objects from Special:UnconnectedPages.


To view, visit change 443343. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If64d7e48c71a79a3ff2ca63c71e1ccd9446cc96b
Gerrit-Change-Number: 443343
Gerrit-PatchSet: 2
Gerrit-Owner: Dalba <dalba.wiki@gmail.com>
Gerrit-Reviewer: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444@gmail.com>
Gerrit-Reviewer: jenkins-bot