diff --git a/wikitools_cli/VERSION.py b/wikitools_cli/VERSION.py index cbfab60..8e0257b 100644 --- a/wikitools_cli/VERSION.py +++ b/wikitools_cli/VERSION.py @@ -1 +1 @@ -VERSION = "2.3.1" +VERSION = "2.3.2" diff --git a/wikitools_cli/commands/check_links.py b/wikitools_cli/commands/check_links.py index 57c9850..1a1325e 100644 --- a/wikitools_cli/commands/check_links.py +++ b/wikitools_cli/commands/check_links.py @@ -124,10 +124,10 @@ def main(*args): errors = link_checker.check_article(a, redirects, articles, args.case_sensitive) if not args.to_sections_in_outdated_translations: - errors = filter_errors(lambda e: not (isinstance(e, error_types.MissingIdentifierError) and e.translation_outdated), errors) + errors = filter_errors(lambda e: not ((isinstance(e, error_types.MissingIdentifierError) or isinstance(e, error_types.BrokenRedirectIdentifierError)) and e.translation_outdated), errors) if not args.to_sections_in_missing_translations: - errors = filter_errors(lambda e: not (isinstance(e, error_types.MissingIdentifierError) and e.no_translation_available), errors) + errors = filter_errors(lambda e: not ((isinstance(e, error_types.MissingIdentifierError) or isinstance(e, error_types.BrokenRedirectIdentifierError)) and e.no_translation_available), errors) if not errors: continue