add-links/add_links
Edward Betts fe89db11bd Improve link matching to avoid more classes of bad edits
- Skip no-parameter templates (navboxes) and add annotated link,
  excerpt, main, see to the list of skipped parameterised templates
- Preserve sentence-initial capitalisation when replacement is lowercase
- Skip matches that sit entirely inside an existing [[link]] destination
- Treat link destinations that start with q as more specific links to
  preserve, in both find_link_in_chunk and find_link_and_section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 14:44:28 +01:00
..
__init__.py Initial commit 2023-10-04 12:56:21 +01:00
api.py Fix User-Agent header, timeouts, and JSON error handling 2026-05-09 18:11:23 +01:00
core.py Initial commit 2023-10-04 12:56:21 +01:00
language.py Initial commit 2023-10-04 12:56:21 +01:00
match.py Improve link matching to avoid more classes of bad edits 2026-05-10 14:44:28 +01:00
mediawiki_api.py Fix User-Agent header, timeouts, and JSON error handling 2026-05-09 18:11:23 +01:00
mediawiki_api_old.py Initial commit 2023-10-04 12:56:21 +01:00
mediawiki_oauth.py Fix User-Agent header, timeouts, and JSON error handling 2026-05-09 18:11:23 +01:00
util.py Initial commit 2023-10-04 12:56:21 +01:00
wikipedia.py Initial commit 2023-10-04 12:56:21 +01:00