Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

MediaWiki:Apihelp-main-param-maxlag

From Super Fantasy Kingdom Official Wiki

Maximum lag can be used when MediaWiki is installed on a database replicated cluster. To save actions causing any more site replication lag, this parameter can make the client wait until the replication lag is less than the specified value. In case of excessive lag, error code maxlag is returned with a message like Waiting for $host: $lag seconds lagged.
See Manual: Maxlag parameter for more information.