MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=messagecollection (mc)
- Ez a modul olvasási jogot igényel.
- Ez a modul használható generátorként.
- Forrás: Translate
- Licenc: GPL-2.0-or-later
MessageCollection lekérése a fordításokról.
Paraméterek:
- mcgroup
Üzenetcsoport.
- This parameter is required.
- mclanguage
Nyelvkód.
- Default: en
- mclimit
Mennyi üzenetet mutasson (szűrés után).
- Típus: egész vagy max
- The value must be between 1 and 5 000.
- Default: 500
- mcoffset
Ha további eredmények érhetők el, használd ezt a folytatáshoz.
- Alapértelmezett: (üres)
- mcfilter
Message collection filters. Use ! to negate condition. For example !fuzzy means list only all non-fuzzy messages. Filters are applied in the order given.
- fuzzy
- Messages with fuzzy tag.
- optional
- Messages which should be translated only if changes are necessary.
- ignored
- Messages which are never translated.
- hastranslation
- Messages which have a translation regardless if it is fuzzy or not.
- translated
- Messages which have a translation which is not fuzzy.
- changed
- Messages which have been translated or changed since last export.
- reviewer:N
- Messages where the user number N is among reviewers.
- last-translator:N
- Messages where the user number N is the last translator.
- Az értékékeket a | karakterrel vagy az alternatív elválasztóval válaszd el.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- Default: !optional|!ignored
- mcprop
Which properties to get:
- definition
- Message definition.
- translation
- Current translation (without !!FUZZY!! string if any, use the tags to check for outdated or broken translations).
- tags
- Message tags, like optional, ignored and fuzzy.
- properties
- Message properties, like status, revision, last-translator. Can vary between messages.
- revision
- Deprecated! Use mcprop=properties.
- Értékek (elválasztó: | vagy más): definition, properties, revision, tags, translation
- Default: definition|translation
Példák:
- Támogatott nyelvek listája
- api.php?action=query&meta=siteinfo&siprop=languages [megnyitás a homokozóban]
- List of non-optional message definitions for the group "page-Example"
- api.php?action=query&list=messagecollection&mcgroup=page-Example [megnyitás a homokozóban]
- List of optional messages in Finnish with tags for the group "page-Example"
- api.php?action=query&list=messagecollection&mcgroup=page-Example&mclanguage=fi&mcprop=definition|translation|tags&mcfilter=optional [megnyitás a homokozóban]
- More information about latest translation revisions for the group "page-Example"
- api.php?action=query&generator=messagecollection&gmcgroup=page-Example&gmclanguage=nl&prop=revisions [megnyitás a homokozóban]