add-links/add_links
Edward Betts 0239b83555 Track processed candidates in session and use OAuth for API calls
- Record skips, saves, and no-match results in session["skipped"] so
  revisiting an article resumes past already-checked candidates
- Filter self-links (case-insensitive first letter) from hit list
- Use OAuth session for all API reads when logged in for higher rate limits
- Add "for" template to exclusion list to avoid bad edits
- Improve API error handling with HTTP status codes logged to stderr

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 12:46:13 +01:00
..
__init__.py Initial commit 2023-10-04 12:56:21 +01:00
api.py Track processed candidates in session and use OAuth for API calls 2026-05-11 12:46:13 +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 Track processed candidates in session and use OAuth for API calls 2026-05-11 12:46:13 +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 Track processed candidates in session and use OAuth for API calls 2026-05-11 12:46:13 +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