راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=messagecollection (mc)

(main | query | messagecollection)
  • این پودمان نیازمند اختیارات خواندن است.
  • This module can be used as a generator.
  • منبع: ترجمه
  • مجوز: GPL-2.0-or-later

Query MessageCollection about translations.

پارامترها:
Other general parameters are available.
mcgroup

گروه پیام‌.

این پارامتر الزامی است.
mclanguage

کد زبان.

پیش‌فرض: en
mclimit

شمار پیام‌ها برای نمایش (پس از پالایش).

نوع: عدد صحیح یا max
The value must be between ۱ and ۵٬۰۰۰.
پیش‌فرض: 500
mcoffset

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

پیش‌فرض: (خالی)
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.
Separate values with | or alternative.
حداکثر تعداد مقدارها ۵۰ است (۵۰۰ برای متقضایانی که مجوز محدودیت‌های بالاتر را دارند).
پیش‌فرض: !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
منسوخ‌شده. Use mcprop=properties.
مقدارهای (جداشده با | یا جایگزین‌های آن): definition، properties، tags، translation، revision
پیش‌فرض: definition|translation