ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/ValBot/Python/check_interwiki_links.py
(Generate patch)

Comparing ValBot/Python/check_interwiki_links.py (file contents):
Revision 1196 by iritscen, Fri Aug 15 20:55:01 2025 UTC vs.
Revision 1197 by iritscen, Fri Aug 29 03:52:17 2025 UTC

# Line 81 | Line 81 | def find_section(the_link, print_result)
81     if found_section == False:
82        possibly_print(the_link.page_name)
83        pywikibot.stdout('   ERROR: Could not find section "{0}" on {1} page "{2}".'.format(anchor_name, the_link.iw_prefix, target_page_name_human))
84      # TODO: Check that page name has been corrected to redirected page if there was a redirect
84        errors_issued = errors_issued + 1
85     elif print_result == True:
86        pywikibot.stdout('   The section "{0}" was found on {1} page "{2}".'.format(anchor_name, the_link.iw_prefix, target_page_name_human))

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)