راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=imageusage (iu)
- این پودمان نیازمند اختیارات خواندن است.
- This module can be used as a generator.
- منبع: MediaWiki
- مجوز: GPL-2.0-or-later
Find all pages that use the given image title.
- iutitle
Title to search. Cannot be used together with iupageid.
- iupageid
Page ID to search. Cannot be used together with iutitle.
- نوع: عدد صحیح
- iucontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- iunamespace
The namespace to enumerate.
- مقدارهای (جداشده با | یا جایگزینهای آن): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- برای تعیین همهٔ مقدارها از * استفاده کنید.
- iudir
The direction in which to list.
- یکی از مقدارهای زیر: ascending, descending
- پیشفرض: ascending
- iufilterredir
How to filter for redirects. If set to nonredirects when iuredirect is enabled, this is only applied to the second level.
- یکی از مقدارهای زیر: all, nonredirects, redirects
- پیشفرض: all
- iulimit
How many total pages to return. If iuredirect is enabled, the limit applies to each level separately (which means up to 2 * iulimit results may be returned).
- نوع: عدد صحیح یا max
- The value must be between ۱ and ۵۰۰.
- پیشفرض: 10
- iuredirect
If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.
- نوع: بولی (جزئیات)
- Show pages using File:Albert Einstein Head.jpg.
- api.php?action=query&list=imageusage&iutitle=File:Albert%20Einstein%20Head.jpg [باز کردن در صفحهٔ تمرین]
- Get information about pages using File:Albert Einstein Head.jpg.
- api.php?action=query&generator=imageusage&giutitle=File:Albert%20Einstein%20Head.jpg&prop=info [باز کردن در صفحهٔ تمرین]