راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: 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