Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
action=flow-parsoid-utils
(main | flow-parsoid-utils)
- This module requires read rights.
- Извор: Flow
- Лиценца: GPL-2.0-or-later
Convert text between wikitext and HTML.
Параметри:
- from
Format to convert content from.
- This parameter is required.
- One of the following values: html, wikitext
- to
Format to convert content to.
- This parameter is required.
- One of the following values: html, wikitext
- content
Content to be converted.
- This parameter is required.
- 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 [open in sandbox]