API:Info

Retrieves basic page information. The code implementing this is in.

Results
This section documents only those result sections where there are numerous or non-obvious return values. Results like those for  or , where the meaning of each item can be readily inferred, are not listed here. Results for the Info module are contained within the page object itself (i.e., at the same level as the  and   values).

Main result
The following properties will always be emitted, even if the page doesn't exist:

For existing pages, the following additional properties will be emitted, regardless of the value of :

inprop=protection
Protection results include:

inprop=url
Includes various URLs for the current page:

Possible warnings

 * Action ' action ' is not allowed for the current user
 * Thrown when a token is requested that the current user isn't allowed to use
 * No support for special pages has been implemented
 * Thrown when a special page is requested

Possible errors
None.