diff --git a/pages/copyvios.mako b/pages/copyvios.mako index fc0b05a..32520de 100644 --- a/pages/copyvios.mako +++ b/pages/copyvios.mako @@ -48,14 +48,14 @@ except exceptions.SiteNotFoundError: try: return bot.wiki.add_site(lang=lang, project=project) - except exceptions.APIError: + except (exceptions.APIError, exceptions.LoginError): return None try: return bot.wiki.get_site(lang=lang, project=project) except exceptions.SiteNotFoundError: try: return bot.wiki.add_site(lang=lang, project=project) - except exceptions.APIError: + except (exceptions.APIError, exceptions.LoginError): return None def get_url_specific_results(page, url): @@ -374,7 +374,7 @@ % if project and lang and title and not page:
-

The given site, (project=${project}, language=${lang}) doesn't seem to exist. Check its URL?

+

The given site, (project=${project}, language=${lang}) doesn't seem to exist. It may also be closed or private. Confirm its URL.

% elif project and lang and title and page and not result: