revision_diff
Compare two Wikipedia revisions to reveal exactly what changed in an article's wikitext. Each side is labeled with timestamp, editor, and edit summary to audit edits and spot stealth rewrites.
Instructions
Compare two revisions of an article and show exactly what changed — a plain-text unified diff of the article's wikitext between revision rev_from and rev_to (get revision IDs from revisions). Each side is labelled with its timestamp, editor, and edit summary. The edit-auditing companion to revisions: use it to see what a specific edit added or removed, review edits before trusting a new paragraph, or spot stealth rewrites. limit clamps diff lines (default 100, max 500).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Wikipedia language code (default 'en') | en |
| limit | No | Max diff lines to show (default 100, max 500) | |
| title | Yes | Article title (e.g. 'Tyrannosaurus') | |
| rev_to | Yes | Newer revision ID (from `revisions`) | |
| rev_from | Yes | Older revision ID (from `revisions`) |