راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=sxdelete
(main | sxdelete)
- این پودمان نیازمند اختیارات خواندن است.
- این پودمان نیازمند اختیارات خواندن است.
- این پودمان تنها درخواستهای POST را میپذیرد.
- منبع: ContentTranslation
- مجوز: GPL-2.0-or-later
Delete the draft section translation and its parallel corpora from database.
پارامترها:
Other general parameters are available.
- sectiontranslationid
The section translation id associated with the draft section translation.
- این پارامتر الزامی است.
- نوع: عدد صحیح
- translationid
The translation id associated with the draft section translation.
- این پارامتر الزامی است.
- نوع: عدد صحیح
- sectionid
The id of the section of the draft section translation.
- این پارامتر الزامی است.
- token
یک بلیط «csrf» واکشیشده از action=query&meta=tokens
- این پارامتر الزامی است.
نمونه:
- Delete a draft associated with given translation id and section id.
- api.php?action=sxdelete&translationid=1§ionid=100_20 [باز کردن در صفحهٔ تمرین]