API:Siteinfo

Siteinfo returns overall site information. The code for the siteinfo function is located at.

Results
This section documents only those result sections where there are numerous or non-obvious return values. Results like those found in  or , where the meaning of each item can be readily inferred, are not listed here.

General
The general option can return the following results:

Interwikimap
The attributes provided in each  element include:

Namespaces
Each namespace is given within its own element, which contains several attributes:

Restrictions
Provides information about the various forms of page protection available.

Rightsinfo
In the best case this will provide:

Statistics
This section provides similar info to Special:Statistics, along with the number of jobs in the job queue, in the following elements:

Other statistics may be included via the APIQuerySiteInfoStatisticsInfo hook.

Usergroups
This retrieves a list of all groups on the wiki, along with their rights and possibly other statistics.