MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

prop=pageimages (pi)

(main | query | pageimages)
  • This module requires read rights.

Returns information about images on the page, such as thumbnail and presence of photos.

Parameters:
piprop

Which information to return:

thumbnail
URL and dimensions of image associated with page, if any.
name
Image title.
Values (separate with |): thumbnail, name, original
Default: thumbnail|name
pithumbsize

Maximum thumbnail dimension.

Default: 50
pilimit

Properties of how many pages to return.

No more than 50 (100 for bots) allowed.
Default: 1
picontinue

When more results are available, use this to continue.