mw wiki page diff
Releasev0.35.0 · cfeceb67
mw wiki page diff SELECTOR [SELECTOR] [flags]One selector shows that title/revision’s latest change against its predecessor. Two selectors compare FROM to TO. Selectors accept rev:123 or bare positive revision numbers, title:Earth or ordinary nonnumeric page titles. Use title:123 for a numeric page title.
Text output requests the wiki’s unified diff where available. Older wikis fall back to readable +/-/context lines; fallback text is not a patch file. –output html emits native diff HTML; json/jq expose the native comparison metadata and body. No pages are edited.
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”mw wiki page diff Earthmw wiki page diff rev:123 rev:124mw wiki page diff title:Earth title:Moon --output jsonSee also
Section titled “See also”Page views: —Sessions: —