رہنمائے میڈیاویکی اےپی‌آئی

ذیل میں میڈیاویکی اےپی‌آئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔

دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=pageimages (pi)

(main | query | pageimages)
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • ماخذ: PageImages
  • اجازت نامہ: WTFPL

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

مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
piprop

Which information to return:

thumbnail
URL and dimensions of thumbnail image associated with page, if any.
name
Image title.
original
URL and original dimensions of image associated with page, if any.
قدریں (| سے امتیاز کیا گیا ہے یا متبادل): name، original، thumbnail
طے شدہ: thumbnail|name
pithumbsize

Maximum width in pixels of thumbnail images.

Type: integer
طے شدہ: 50
pilimit

Properties of how many pages to return.

طرز: عدد صحیح یا max
The value must be between 1 and 50.
طے شدہ: 50
pilicense

Limit page images to a certain license type:

free
Only free images.
any
Best image, whether free or non-free.
ذیل کی قدروں میں سے کوئی ایک: any، free
طے شدہ: free
picontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

Type: integer
pilangcode

Code for the language the image is going to be rendered in if multiple languages are supported

مثال
Get name and 100-pixel thumbnail of an image on the Albert Einstein page.
api.php?action=query&prop=pageimages&titles=Albert%20Einstein&pithumbsize=100 [تختۂ مشق میں کھولیں]