Apihelp-query+revisions+base-param-difftotext
From LNTwww
Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides $1diffto</var>. If <var>$1section is set, only that section will be diffed against this text.