A more recent, revised and updated version of this paper has been published (2019)
 Actions

MediaWiki

Apihelp-query+revisions+base-param-difftotextpst

From Old European

Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with $1difftotext.