رہنمائے میڈیاویکی اےپی‌آئی

ذیل میں میڈیاویکی اےپی‌آئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔

دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=allcategories (ac)

(main | query | allcategories)
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • اس ماڈیول کو جنریٹر کے طور پر استعمال کیا جا سکتا ہے۔
  • ماخذ: MediaWiki
  • اجازت نامہ: GPL-2.0-or-later

Enumerate all categories.

مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
acfrom

The category to start enumerating from.

accontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

acto

The category to stop enumerating at.

acprefix

Search for all category titles that begin with this value.

acdir

Direction to sort in.

ذیل کی قدروں میں سے کوئی ایک: ascending، descending
طے شدہ: ascending
acmin

Only return categories with at least this many members.

Type: integer
acmax

Only return categories with at most this many members.

Type: integer
aclimit

How many categories to return.

طرز: عدد صحیح یا max
The value must be between 1 and 500.
طے شدہ: 10
acprop

Which properties to get:

size
Adds number of pages in the category.
hidden
Tags categories that are hidden with __HIDDENCAT__.
قدریں (| سے امتیاز کیا گیا ہے یا متبادل): hidden، size
طے شدہ: (خالی)
مثالیں
List categories with information on the number of pages in each.
api.php?action=query&list=allcategories&acprop=size [تختۂ مشق میں کھولیں]
Retrieve info about the category page itself for categories beginning List.
api.php?action=query&generator=allcategories&gacprefix=List&prop=info [تختۂ مشق میں کھولیں]