Справка MediaWiki API

Это автоматически сгенерированная страница документации MediaWiki API.

Документация и примеры: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=imageforpage (prppifp)

(main | query | imageforpage)
  • Этот модуль требует прав на чтение.
  • Источник: ProofreadPage
  • Лицензия: GPL-2.0-or-later

Pre-renders and provides URLs to images for a given page in the "Page:" namespace.

Определённый параметр:
Other general parameters are available.
prppifpprop

Which types of images or properties of images to return for a given page in the "Page:" namespace.

filename
Return the filename associated with the page being queried
size
Return the size of the image associated with the page being queried
fullsize
Return the URL of the full-sized image associated with the page being queried
responsiveimages
Return a list containing the URLs of images at 1x, 1.5x and 2x of the fullsized image associated with the page being queried
Значения (разделённые с помощью | или альтернативного разделителя): filename, fullsize, responsiveimages, size
По умолчанию: filename|size|fullsize|responsiveimages