API:Meta

Meta queries return information which is not associated with pages.

siteinfo / si
The code for the siteinfo query is located at ApiQuerySiteinfo.php.

Siteinfo returns overall site information.

Parameters

 * : Which properties to get
 * : General site information (default)
 * : A list of all namespaces
 * : Get information about the database server with the highest replication lag (MW 1.11+)
 * : A list of all interwiki prefixes and where they go (MW 1.11+)
 * The attributes provided in each  element include:
 * Is the prefix of the interwiki link; this is used the same way as a namespace is used when editing.
 * (if true) A boolean value indicating whether the wiki is in this project.
 * (if defined) The name of the language used by the wiki.
 * The URL of the wiki, with "$1" as a placeholder for an article name.
 * (MW 1.18+) The internal name of the database.
 * (MW 1.18+) The URL of the file api.php.
 * : Site statistics à la Special:Statistics, plus job queue (MW 1.11+)
 * : A list of all namespace aliases (MW 1.13+)
 * : A list of all special page aliases (MW 1.13+)
 * : A list of all user groups and their permissions (MW 1.13+)
 * : A list of extensions installed on the wiki (MW 1.14+)
 * : A list of magic words and their aliases (MW 1.14+)
 * : A list of file extensions allowed to be uploaded (MW 1.15+)
 * : Get information about the license governing the wiki's content (MW 1.15+)
 * : Get available languages as seen in preferences (MW 1.16+)
 * : Criteria to filter the interwiki map by (ignored if  isn't set)
 * : Only list local interwiki prefixes
 * : Only list non-local interwiki prefixes
 * : Show information about all DB servers (ignored if  isn't set)
 * : When set to true and  includes   the numbers of users in each usergroup are included

Possible errors

 * code: includeAllDenied
 * info: Cannot view all servers info unless $wgShowHostnames is true

userinfo / ui
Returns information about the currently logged-in user.

Parameters

 * : Which properties to get
 * : Whether the current user is blocked, by whom, and why
 * : Whether the current user has new messages on their user talk page
 * : Which groups the current user belongs to
 * : Which rights the current user has
 * : Which groups the current user can add/remove
 * : Which preferences the current user has
 * : The number of edits the current user has made
 * : Rate limits applying to the current user
 * : User's realname [1.18+]
 * : Email address and authentication timestamp in ISO 8601 format [1.15+]

Possible errors
None.

allmessages / am
Lists the contents of all (or a few) interface messages.

Parameters

 * : Which messages to output. "*" (default) means all messages
 * : Which properties to get, the only (default) prop is "default"
 * : Set to enable parser, will preprocess the wikitext of message. Will substitute magic words, handle templates etc.
 * : Arguments to be substituted into message
 * : Return only messages that contain this string
 * : Return messages in this language
 * : Return messages starting at this message
 * : Return messages ending at this message

Possible errors
None.