Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=veforall-parsoid-utils
(main | veforall-parsoid-utils)
- Tento modul vyžaduje oprávnění ke čtení.
- Zdroj: VEForAll
- Licence: GPL-2.0-or-later
Convert text back and forth from Wikitext to HTML
Parametry:
Other general parameters are available.
- from
'html' nebo 'wikitext'
- This parameter is required.
- Jedna z následujících hodnot: html, wikitext
- to
'html' or 'wikitext'
- This parameter is required.
- Jedna z následujících hodnot: 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
Příklad:
- convert blah from wikitext to html
- api.php?action=veforall-parsoid-utils&from=wikitext&to=html&content=''blah''&title=Main_Page [otevřít v pískovišti]