MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=flow-parsoid-utils
(main | flow-parsoid-utils)
- This module requires read rights.
- Source: Flow
- License: GPL-2.0-or-later
Convert text between wikitext and HTML.
Specific parameters:
Other general parameters are available.
- from
Format sa kojeg treba pretvoriti sadržaj.
- This parameter is required.
- One of the following values: html, wikitext
- to
Format na koji treba pretvoriti sadržaj.
- This parameter is required.
- One of the following values: html, wikitext
- content
Sadržaj koji treba biti pretvoren.
- This parameter is required.
- title
Naslov stranice. Ne može se koristiti s pageid.
- pageid
ID stranice. Ne može se koristiti s title.
- Type: integer
Primjer:
- Pretvori wikitekst '''lorem''' ''blah'' u HTML
- api.php?action=flow-parsoid-utils&from=wikitext&to=html&content='''lorem'''+''blah''&title=Main_Page [open in sandbox]