Manual:$wgAPIMaxUncachedDiffs/en

From Linux Web Expert

<translate> API</translate>: $wgAPIMaxUncachedDiffs
The maximum number of uncached diffs that can be retrieved in one API request.
<translate> Introduced in version:</translate>1.15.0 (r47890)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(integer)
<translate> Default value:</translate>1

Details

The maximum number of uncached diffs that can be retrieved in one API request.

Set this to 0 to disable API diffs altogether.