Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
action=veforall-parsoid-utils
(main | veforall-parsoid-utils)
- This module requires read rights.
- Извор: VEForAll
- Лиценца: GPL-2.0-or-later
Convert text back and forth from Wikitext to HTML
Специфични параметри:
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
Пример:
- convert blah from wikitext to html
- api.php?action=veforall-parsoid-utils&from=wikitext&to=html&content=''blah''&title=Main_Page [open in sandbox]