Manual:$wgAPIMaxResultSize

API: $wgAPIMaxResultSize
Maximum size (in bytes) of an API result.
Introduced in version:1.15.0 (r46845)
Removed in version:Still in use
Allowed values:(integer)
Default value:8388608

Details

edit

The maximum size (in bytes) of an API result.

Don't set this lower than $wgMaxArticleSize *1024.