رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=timedtext
(main | timedtext)
- یہ ماڈیول اندرونی یا غیر مستحکم ہے۔ چنانچہ بغیر کسی اطلاع کے اس کا طریقۂ کار تبدیل ہو سکتا ہے۔
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: TimedMediaHandler
- اجازت نامہ: GPL-2.0-or-later
Provides timed text content for usage by <track> elements
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- title
The media file title for which to retrieve timed text
- pageid
The pageid of the media file for which to retrieve timed text
- Type: integer
- trackformat
The file format in which to return timed text
- یہ پیرامیٹر لازمی ہے۔
- ذیل کی قدروں میں سے کوئی ایک: srt، vtt
- lang
The language of the timed text to retrieve
مثال
- Fetch an SRT subtitle file in German for the file Example.ogv
- api.php?action=timedtext&title=File:Example.ogv&lang=de&trackformat=vtt [تختۂ مشق میں کھولیں]