User:Madman/Dementia

Dementia is a MediaWiki bot framework developed with two goals in mind:
 * 1) API requests should be as easy to write as possible, and
 * 2) API queries should be able to use the Toolserver's databases if possible.

Dementia uses MediaWiki's own API modules to determine the characteristics of each type of request, and it provides a dynamic facade for these modules that makes it unnecessary to write code to determine necessary parameters and how they should be prefixed, to handle HTTP requests and responses, to keep track of parameters used to continue queries, and to query MySQL databases when that's possible.

Examples of Dementia requests are here (incomplete).