رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=centralnoticeactivecampaigns (cnac)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: CentralNotice
- اجازت نامہ: GPL-2.0-or-later
Get a list of currently active campaigns with start and end dates and associated banners.
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- cnacincludefuture
Include enabled future campaigns (as well as currently active campaigns).
- طرز: بولین (تفصیلات)
مثال
- Get a list of currently active campaigns with start and end dates and associated banners.
- api.php?action=query&list=centralnoticeactivecampaigns&format=json [تختۂ مشق میں کھولیں]