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

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

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

action=cxpublishsection

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

Save a section created using the Content Translation extension's section translation feature.

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

The title of the page to perform actions on.

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

The content to save.

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

The source language code.

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

The target language code.

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

The title of the source page.

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

The source page revision id.

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

The title of the source section.

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

The title of the target section.

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

The section translation id associated with the draft section translation.

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

Use a sandbox title for translation.

طرز: بولین (تفصیلات)
captchaid

Captcha ID (when saving with a captcha response).

captchaword

Answer to the captcha (when saving with a captcha response).

token

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

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