رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=wikisets (ws)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: CentralAuth
- اجازت نامہ: GPL-2.0-or-later
Enumerate all wiki sets.
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- wsfrom
The name of the wiki set to start from.
- wsprop
What pieces of information to include:
- type
- Opt-in based (includes only specified wikis) or opt-out based (includes all wikis except specified).
- wikisincluded
- The wikis that are included in this wiki set.
- wikisnotincluded
- The wikis that are not included in this wiki set.
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل): type، wikisincluded، wikisnotincluded
- wslimit
How many wiki sets to return.
- طرز: عدد صحیح یا max
- The value must be between 1 and 500.
- طے شدہ: 10
- wsorderbyname
Order results by name.
- طرز: بولین (تفصیلات)
مثالیں
- List wiki sets
- api.php?action=query&list=wikisets [تختۂ مشق میں کھولیں]
- Show wiki sets with types
- api.php?action=query&list=wikisets&wsprop=type&wslimit=200 [تختۂ مشق میں کھولیں]