رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=wbentityusage (wbeu)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: WikibaseClient
- اجازت نامہ: GPL-2.0-or-later
Returns all entity IDs used in the given pages.
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- wbeuprop
Properties to add to the result.
- url
- If enabled url of entity will be added
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل): url
- wbeuaspect
Only return entity IDs that used this aspect.
- S
- The entity's sitelinks are used
- L
- The entity's label is used
- D
- The entity's description is used
- T
- The title of the local page corresponding to the entity is used
- C
- Statements from the entity are used
- X
- All aspects of an entity are or may be used
- O
- Something else about the entity is used. This currently implies alias usage and explicit checks for entity existence.
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل): C، D، L، O، S، T، X
- wbeuentities
Only return page that used these entities.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- wbeulimit
How many entity usages to return.
- طرز: عدد صحیح یا max
- The value must be between 1 and 500.
- طے شدہ: 10
- wbeucontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
مثال
- Get entities used in the page Main Page.
- api.php?action=query&prop=wbentityusage&titles=Main%20Page [تختۂ مشق میں کھولیں]