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

Comparing ValBot/Python/check_intrawiki_section_links.py (file contents):
Revision 1185 by iritscen, Tue Aug 15 02:03:16 2023 UTC vs.
Revision 1186 by iritscen, Mon Nov 20 02:18:07 2023 UTC

# Line 86 | Line 86 | def find_section(page_text, page_name, p
86              break
87     if found_section == False:
88        possibly_print(page_name)
89 <      pywikibot.stdout('   ERROR: Could not find section "{0}" on page {1}!'.format(anchor_name, pre_section))
89 >      pywikibot.stdout('   ERROR: Could not find section "{0}" on page {1}!'.format(anchor_name, target_page_name_human))
90        errors_issued += 1
91     elif debug and print_result:
92        pywikibot.stdout('   The section "{0}" was found on page "{1}".'.format(anchor_name, target_page_name_human))

Diff Legend

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