MediaWiki:Apihelp-query+revisions+base-param-difftotext
Appearance
Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides $2diffto. If $2section is set, only that section will be diffed against this text. For performance reasons, if this option is used, $2limit is enforced to $1.