미디어위키 API 도움말

이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.

설명 문서 및 예시: https://www.mediawiki.org/wiki/API

list=allcategories (ac)

(main | query | allcategories)
  • 이 모듈은 read 권한을 요구합니다.
  • This module can be used as a generator.
  • 출처: MediaWiki
  • 라이선스: GPL-2.0+

Enumerate all categories.

변수:
acfrom

The category to start enumerating from.

accontinue

When more results are available, use this to continue.

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.

유형: 정수
acmax

Only return categories with at most this many members.

유형: 정수
aclimit

How many categories to return.

No more than 500 (5,000 for bots) allowed.
Type: integer or max
기본값: 10
acprop

Which properties to get:

size
Adds number of pages in the category.
hidden
Tags categories that are hidden with __HIDDENCAT__.
값 ("|"로 구분): size, hidden
기본값: (비어 있음)
예시:
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