مساعدة API ميدياويكي
هذه صفحة توثيق ميدياويكي API التي تم إنشاؤها تلقائيا.
وثائق وأمثلة: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=markfortranslation
- هذه الوحدة تتطلب صلاحيات القراءة.
- هذه الوحدة تتطلب صلاحيات الكتابة.
- هذه الوحدة تقبل طلبات POST فقط.
- المصدر:ترجمة
- الترخيص: GPL-2.0-or-later
Mark a page for translation
- title
The title of the page to act on. Either title or pageid must be set.
- pageid
The page ID of the page to act on. Either title or pageid must be set.
- النوع: 2 = قائمة الأعداد الصحيحة
- revid
Assert that the current version of the page has this revision ID before continuing. If the page has been updated, exit with an error.
- النوع: 2 = قائمة الأعداد الصحيحة
- translatetitle
If yes, allow translation of the display title. If no, do not allow translation. If absent, allow translation unless the page previously disallowed translation, or if the page is a template.
- إحدى القيم التالية: no، yes
- prioritylanguages
A list of priority language codes. If this is absent, any previously set value will be retained.
- قيم منفصلة بـ| أو بديل.
- الحد الأقصى لعدد القيم هو ١٬٠٠٠.
- forcepriority
This parameter is ignored unless the prioritylanguages parameter is present. If true, prevent translations to languages other than the priority languages.
- Type: boolean (details)
- priorityreason
This parameter is ignored unless the prioritylanguages parameter is present. A string giving the reason for priority translation.
- nofuzzyunits
A list of translation unit IDs which should not be fuzzied. This will be merged with the default list, in which any units with only tvar changes will not be fuzzied.
- قيم منفصلة بـ| أو بديل.
- الحد الأقصى لعدد القيم هو ١٬٠٠٠.
- fuzzyunits
A list of translation unit IDs which should be fuzzied. This is only useful to override the default and allows fuzzying even units with only tvar changes.
- قيم منفصلة بـ| أو بديل.
- الحد الأقصى لعدد القيم هو ١٬٠٠٠.
- forcelatestsyntaxversion
If false, do not use latest syntax version for this page. If absent, latest syntax version is used.
- Type: boolean (details)
- transclusion
If yes or absent, enable translation aware transclusion for this page. If no, disable transclusion.
- إحدى القيم التالية: no، yes
- token
تم استرداد رمز مميز "csrf" من action=query&meta=tokens
- هذه المعلمة مطلوبة.