API:Images

From MediaWiki.org
Jump to: navigation, search

Gets a list of all embedded files (images, audio, video) on the provided pages. This module can be used as a generator.

Parameters[edit]

  • imlimit: How many files to return. 1.13+
  • imcontinue: When more results are available, use this to continue. 1.13+
  • imimages: Only list these files. Useful for checking whether a certain page has a certain Image. 1.18+
  • imdir: The direction in which to list 1.19+

Example[edit]

Get a list of files on en:Albert Einstein's page

Possible errors[edit]

None.