미디어위키 API 도움말

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

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

meta=allmessages (am)

(main | query | allmessages)
  • 이 모듈은 read 권한을 요구합니다.
  • 출처: MediaWiki
  • 라이선스: GPL-2.0+

Return messages from this site.

변수:
ammessages

Which messages to output. * (default) means all messages.

Separate values with |. Maximum number of values is 50 (500 for bots).
기본값: *
amprop

Which properties to get.

값 ("|"로 구분): default
amenableparser

Set to enable parser, will preprocess the wikitext of message (substitute magic words, handle templates, etc.).

유형: 부울 (자세한 정보)
amnocontent

If set, do not include the content of the messages in the output.

유형: 부울 (자세한 정보)
amincludelocal

Also include local messages, i.e. messages that don't exist in the software but do exist as a MediaWiki: page. This lists all MediaWiki: pages, so it will also list those that aren't really messages such as Common.js.

유형: 부울 (자세한 정보)
amargs

Arguments to be substituted into message.

Separate values with |. Maximum number of values is 50 (500 for bots).
amfilter

Return only messages with names that contain this string.

amcustomised

Return only messages in this customisation state.

하나의 값: all, modified, unmodified
기본값: all
amlang

Return messages in this language.

amfrom

Return messages starting at this message.

amto

Return messages ending at this message.

amtitle

Page name to use as context when parsing message (for amenableparser option).

amprefix

Return messages with this prefix.

예시:
Show messages starting with ipb-.
api.php?action=query&meta=allmessages&amprefix=ipb-
Show messages august and mainpage in German.
api.php?action=query&meta=allmessages&ammessages=august|mainpage&amlang=de