رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=links (pl)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- اس ماڈیول کو جنریٹر کے طور پر استعمال کیا جا سکتا ہے۔
- ماخذ: MediaWiki
- اجازت نامہ: GPL-2.0-or-later
Returns all links from the given pages.
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- plnamespace
Show links in these namespaces only.
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل): -1، -2، 0، 1، 2، 3، 4، 5، 6، 7، 8، 9، 10، 11، 12، 13، 14، 15، 106، 107
- To specify all values, use *.
- pllimit
How many links to return.
- طرز: عدد صحیح یا max
- The value must be between 1 and 500.
- طے شدہ: 10
- plcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- pltitles
Only list links to these titles. Useful for checking whether a certain page links to a certain title.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- pldir
The direction in which to list.
- ذیل کی قدروں میں سے کوئی ایک: ascending، descending
- طے شدہ: ascending
مثالیں
- Get links from the page صفحۂ اول
- api.php?action=query&prop=links&titles=%D8%B5%D9%81%D8%AD%DB%82%20%D8%A7%D9%88%D9%84 [تختۂ مشق میں کھولیں]
- Get information about the link pages in the page صفحۂ اول.
- api.php?action=query&generator=links&titles=%D8%B5%D9%81%D8%AD%DB%82%20%D8%A7%D9%88%D9%84&prop=info [تختۂ مشق میں کھولیں]
- Get links from the page صفحۂ اول in the صارف and سانچہ namespaces.
- api.php?action=query&prop=links&titles=%D8%B5%D9%81%D8%AD%DB%82%20%D8%A7%D9%88%D9%84&plnamespace=2|10 [تختۂ مشق میں کھولیں]