MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=flow-parsoid-utils
(main | flow-parsoid-utils)
- This module requires read rights.
- Source: Flow
- License: GPL-2.0+
Convert text between wikitext and HTML.
Parameters:
- 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
Example:
- Convert wikitext '''lorem''' ''blah'' to HTML
- api.php?action=flow-parsoid-utils&from=wikitext&to=html&content='''lorem'''+''blah''&title=Main_Page