get_diff

WikipediaPage.get_diff(rev_id='')

Retrieve diff content between a revision and its predecessor. The content is extracted from the API json response. To get the full response, you can still use get_diff_full

Examples

Parameters:rev_id (string, optional) – If no revision id is supplied, the method retrieve the diff from the current version of the page and compare it to its predecessor.
Returns:content
Return type:string

See also

get_diff_full()