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

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

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

list=contenttranslation

(main | query | contenttranslation)
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • اس ماڈیول کو جنریٹر کے طور پر استعمال کیا جا سکتا ہے۔
  • ماخذ: ContentTranslation
  • اجازت نامہ: GPL-2.0-or-later

Query Content Translation database for translations.

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

Translation ID.

from

The source language code.

to

The target language code.

sourcetitle

The title of the source page.

sourcesectiontitle

The title of the source section (optional).

limit

The maximum number of translations to fetch.

طرز: عدد صحیح یا max
The value must be between 1 and 500.
طے شدہ: 100
offset

Offset into result set (optional).

type

State of the translation.

ذیل کی قدروں میں سے کوئی ایک: draft، published
usecase

The usecase for which the translations are being fetched (optional).

ذیل کی قدروں میں سے کوئی ایک: desktop-editor-draft، translation-corpora-units، unified-dashboard