API:Main module

The main module includes parameters that can be used for any API request.

Error codes

 * maxlag – Waiting for host: x seconds lagged.
 * maxlag – Waiting for a database server: x seconds lagged.
 * readonly – The wiki is currently in read-only mode.
 * unknown_action – The API requires a valid action parameter.
 * unknown_format – Unrecognized format: format.