رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=flow-parsoid-utils
(main | flow-parsoid-utils)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: Flow
- اجازت نامہ: GPL-2.0-or-later
ویکی متن کو ایچ ٹی ایم ایل میں اور ایچ ٹی ایم ایل کو ویکی متن میں تبدیل کرتا ہے۔
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- from
Format to convert content from.
- یہ پیرامیٹر لازمی ہے۔
- ذیل کی قدروں میں سے کوئی ایک: html، wikitext
- to
Format to convert content to.
- یہ پیرامیٹر لازمی ہے۔
- ذیل کی قدروں میں سے کوئی ایک: html، wikitext
- content
Content to be converted.
- یہ پیرامیٹر لازمی ہے۔
- title
Title of the page. Cannot be used together with pageid.
- pageid
ID of the page. Cannot be used together with title.
- Type: integer
مثال
- Convert wikitext '''lorem''' ''blah'' to HTML
- api.php?action=flow-parsoid-utils&from=wikitext&to=html&content='''lorem'''+''blah''&title=Main_Page [تختۂ مشق میں کھولیں]