미디어위키 API 도움말

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

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

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 또는 다른 문자열: 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.
sourcelanguage
Include the source language for the message group.
subscription
Include whether the user is subscribed to the group.
값 (|로 구분): class, description, exists, icon, id, label, namespace, priority, priorityforce, prioritylangs, sourcelanguage, subscription, workflowstates 또는 다른 문자열: class, description, exists, icon, id, label, namespace, priority, priorityforce, prioritylangs, sourcelanguage, subscription, 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.

기본값: (비어 있음)
mglanguageFilter

Only return message groups that can be translated to the given language.

기본값: (비어 있음)