API:Properties

Properties are used to get various data about a list of pages specified with either the titles=, pageids=, or revids= parameters, or by using generators.

info / in
Gets basic page information

Parameters

 * : Which properties to get
 * : The protection level
 * : The page ID of the talk page for each non-talk page
 * : The page ID of the parent page for each talk page

Possible errors
None

categories / cl
Gets a list of all categories used on the provided pages. This module can be used as a generator.

Parameters

 * : Which properties to get
 * : The sort key

Possible errors
None

imageinfo / ii
Gets image information for any titles in the image namespace

Parameters

 * : Which properties to get
 * : The time and date of the revision (default)
 * : The user who made the revision (default)
 * : The edit comment
 * : URL of the image
 * : The image's size in bytes
 * : The image's SHA-1 hash
 * : Image metadata, if available
 * : How many image revisions to return (1 by default)
 * : Timestamp to start listing from
 * : Timestamp to stop listing at
 * : If  is set, a URL to an image scaled to this width will be returned as well. Old versions of images can't be scaled
 * : Similar to

langlinks / ll
Gets a list of all language links from the provided pages to other languages.

Parameters
None

Possible errors
None

links / pl
Gets a list of all links on the provided pages. This module can be used as a generator.

Parameters

 * : Only list links to pages in these namespaces

Possible errors
None

templates / tl
Gets a list of all pages included in the provided pages. This module can be used as a generator.

Parameters

 * : Only list pages in these namespaces

Possible errors
None.

images / im
''In Query API interface, this command found pages that embedded the given image. It has been renamed to imageusage.

Gets a list of all images used on the provided pages. This module can be used as a generator.

Parameters
None.

Possible errors
None.

extlinks / el
Gets a list of all external links on the provided pages

Parameters
None.

Possible errors
None.