MediaWiki:Apihelp-query+revisions+base-param-difftotextpst

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