Skip to content

feat(fetchers): add WikipediaFetcher for article extraction#66

Merged
chaliy merged 1 commit intomainfrom
fix/issue-55-wikipedia-fetcher
Mar 26, 2026
Merged

feat(fetchers): add WikipediaFetcher for article extraction#66
chaliy merged 1 commit intomainfrom
fix/issue-55-wikipedia-fetcher

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Mar 26, 2026

What\nAdds a WikipediaFetcher for Wikipedia article URLs, returning clean content via the MediaWiki REST API.\n\nCloses #55\n\n## Why\nAgents doing research frequently land on Wikipedia. The DefaultFetcher returns full pages with edit links, reference numbers, and navigation boxes. The MediaWiki API provides clean content.\n\n## How\n- Matches {lang}.wikipedia.org/wiki/{title} (all language editions)\n- Fetches summary via REST API summary endpoint\n- Fetches full HTML via REST API html endpoint, converts to markdown\n- Format field: \"wikipedia\"\n\n## Risk\n- Low\n\n### Checklist\n- [x] Unit tests passed\n- [x] Clippy clean\n- [x] Formatting applied

…Wiki API

Closes #55 — Adds a fetcher for Wikipedia article URLs across all
language editions, returning clean content via the MediaWiki REST API.

Matches {lang}.wikipedia.org/wiki/{title}. Returns article summary,
description, and full content converted to markdown. Supports all
language editions. Format: "wikipedia".
@chaliy chaliy merged commit 5479f1a into main Mar 26, 2026
10 checks passed
@chaliy chaliy deleted the fix/issue-55-wikipedia-fetcher branch March 26, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant