jenkins-bot has submitted this change and it was merged.
Change subject: [bugfix] import InterwikiRedirectPage to pywikibot lib ......................................................................
[bugfix] import InterwikiRedirectPage to pywikibot lib
to enable pywikibot.InterwikiRedirectPage exceptions, this class must be imported.
Bug: T85589 Change-Id: I04dca19a1f1cfc1206acf225fe53747a2c852502 --- M pywikibot/__init__.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/__init__.py b/pywikibot/__init__.py index 40dde82..7fd7983 100644 --- a/pywikibot/__init__.py +++ b/pywikibot/__init__.py @@ -42,7 +42,7 @@ LockedPage, CascadeLockedPage, LockedNoPage, NoCreateError, EditConflict, PageDeletedConflict, PageCreatedConflict, ServerError, FatalServerError, Server504Error, - CaptchaError, SpamfilterError, CircularRedirect, + CaptchaError, SpamfilterError, CircularRedirect, InterwikiRedirectPage, WikiBaseError, CoordinateGlobeUnknownException, ) from pywikibot.tools import UnicodeMixin, redirect_func @@ -81,6 +81,7 @@ 'UploadWarning', 'ServerError', 'FatalServerError', 'Server504Error', 'CaptchaError', 'SpamfilterError', 'CircularRedirect', + 'InterwikiRedirectPage', 'WikiBaseError', 'CoordinateGlobeUnknownException', 'QuitKeyboardInterrupt', )
pywikibot-commits@lists.wikimedia.org