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=veforall-parsoid-utils
(main | veforall-parsoid-utils)
- This module requires read rights.
- Source: VEForAll
- License: GPL-2.0-or-later
Convert text back and forth from Wikitext to HTML
Specific parameters:
Other general parameters are available.
- from
'html' or 'wikitext'
- This parameter is required.
- One of the following values: html, wikitext
- to
'html' or 'wikitext'
- 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 holding the content
- pageid
page ID of the page holding the content
- Type: integer
Example:
- convert blah from wikitext to html
- api.php?action=veforall-parsoid-utils&from=wikitext&to=html&content=''blah''&title=Main_Page [open in sandbox]