رہنمائے میڈیاویکی اےپی‌آئی

ذیل میں میڈیاویکی اےپی‌آئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔

دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=cxsave

(main | cxsave)
  • یہ ماڈیول اندرونی یا غیر مستحکم ہے۔ چنانچہ بغیر کسی اطلاع کے اس کا طریقۂ کار تبدیل ہو سکتا ہے۔
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • اس ماڈیول کو اختیارات تحریر درکار ہیں۔
  • یہ ماڈیول فقط POST کی درخواستیں قبول کرتا ہے۔
  • ماخذ: ContentTranslation
  • اجازت نامہ: GPL-2.0-or-later

This module allows to save draft translations by section to save bandwidth and to collect parallel corpora.

مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
from

The source language code.

یہ پیرامیٹر لازمی ہے۔
to

The target language code.

یہ پیرامیٹر لازمی ہے۔
sourcetitle

The title of the source page.

یہ پیرامیٹر لازمی ہے۔
title

The title of the page to perform actions on.

یہ پیرامیٹر لازمی ہے۔
content

JSON-encoded section data. Each section is an object and has the following keys: content, sectionId, sequenceId, sequenceId, origin

یہ پیرامیٹر لازمی ہے۔
sourcerevision

ماخذ صفحہ کی نظر ثانی

یہ پیرامیٹر لازمی ہے۔
Type: integer
progress

Information about translation completion (progress). JSON with the keys any, human, mt and mtSectionsCount. The keys' values are percentages.

یہ پیرامیٹر لازمی ہے۔
cxversion

Version of the editor used to create the draft translation.

Type: integer
The value must be between 1 and 2.
sourcecategories

JSON encoded array of source categories to be saved with draft translation.

65,535 بائٹ سے زیادہ نہیں ہو سکتا۔
targetcategories

JSON encoded array of target categories to be saved with draft translation.

65,535 بائٹ سے زیادہ نہیں ہو سکتا۔
token

A "csrf" token retrieved from action=query&meta=tokens

یہ پیرامیٹر لازمی ہے۔