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

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

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

action=sxdelete

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

ڈیٹابیس سے قطعہ کے ترجمہ کے مسودہ کو اور اس کے متوازی مجموعہ کو حذف کرتا ہے۔

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

The section translation id associated with the draft section translation.

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

The translation id associated with the draft section translation.

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

The id of the section of the draft section translation.

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

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

یہ پیرامیٹر لازمی ہے۔
مثال
Delete a draft associated with given translation id and section id.
api.php?action=sxdelete&translationid=1&sectionid=100_20 [تختۂ مشق میں کھولیں]