رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=cxpublish
(main | cxpublish)
- یہ ماڈیول اندرونی یا غیر مستحکم ہے۔ چنانچہ بغیر کسی اطلاع کے اس کا طریقۂ کار تبدیل ہو سکتا ہے۔
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- اس ماڈیول کو اختیارات تحریر درکار ہیں۔
- یہ ماڈیول فقط POST کی درخواستیں قبول کرتا ہے۔
- ماخذ: ContentTranslation
- اجازت نامہ: GPL-2.0-or-later
Save a page created using the Content Translation extension.
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- title
The title of the page to perform actions on.
- یہ پیرامیٹر لازمی ہے۔
- html
The content to save.
- یہ پیرامیٹر لازمی ہے۔
- from
ماخذ زبان کا کوڈ
- یہ پیرامیٹر لازمی ہے۔
- to
ہدف زبان کا کوڈ
- یہ پیرامیٹر لازمی ہے۔
- sourcetitle
ماخذ صفحہ کا عنوان
- یہ پیرامیٹر لازمی ہے۔
- categories
The categories to put the published page in.
The edit tags to add to the published page.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- wpCaptchaId
Captcha ID (when saving with a captcha response).
- wpCaptchaWord
Answer to the captcha (when saving with a captcha response).
- cxversion
Version of the editor used to publish the translation.
- یہ پیرامیٹر لازمی ہے۔
- Type: integer
- The value must be between 1 and 2.
- token
A "csrf" token retrieved from action=query&meta=tokens
- یہ پیرامیٹر لازمی ہے۔