미디어위키 API 도움말

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

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

meta=messagegroups (mg)

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

메시지 그룹에 관한 정보를 반환합니다.

Note that the uselang parameter affects the output of language dependent parts.

변수:
mgdepth

When using the tree format, limit the depth to this many levels. Value 0 means that no subgroups are shown. If the limit is reached, the output includes a "groupcount" value, which states the number of direct children.

유형: 정수
기본값: 100
mgfilter

Only return messages with IDs that match one or more of the inputs given (case-insensitive, separated by pipes, * wildcard).

| 또는 대안으로 값을 구분합니다. 값들의 최대 수는 50입니다. (봇의 경우 500)
기본값: (비어 있음)
mgformat

In the tree format message groups can exist in multiple places in the tree.

다음 값 중 하나: flat, tree 또는 alternative: flat, tree
기본값: flat
mgiconsize

Preferred size of rasterised group icon.

유형: 정수
기본값: 64
mgprop

What translation-related information to get:

id
Include ID of the group.
label
Include label of the group.
description
Include description of the group.
class
Include class name of the group.
namespace
Include namespace of the group. Not all groups belong to a single namespace.
exists
Include self-calculated existence property of the group.
icon
Include URLs to icon of the group.
priority
Include priority status like discouraged.
prioritylangs
Include preferred languages. If not set, this returns false.
priorityforce
Include priority status - is the priority languages setting forced.
workflowstates
Include the workflow states for the message group.
값 (|로 구분): id, label, description, class, namespace, exists, icon, priority, prioritylangs, priorityforce, workflowstates 또는 alternative: id, label, description, class, namespace, exists, icon, priority, prioritylangs, priorityforce, workflowstates
기본값: id|label|description|class|exists
mgroot

When using the tree format, instead of starting from top level start from the given message group, which must be an aggregate message group. When using flat format only the specified group is returned.

기본값: (비어 있음)