MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=veforall-parsoid-utils
(main | veforall-parsoid-utils)
- このモジュールは読み取りの権限を必要とします。
- ソース: VEForAll
- ライセンス: GPL-2.0-or-later
文の書式をウィキテキストとHTMLに可逆的に変換する
パラメーター:
その他一般パラメーターが利用可能です。
- from
'html' か 'wikitext' か
- この変数は必須です。
- 値 (次の値のいずれか1つ): html、wikitext
- to
'html' か 'wikitext' か
- この変数は必須です。
- 値 (次の値のいずれか1つ): html、wikitext
- content
変換対象のコンテンツ
- この変数は必須です。
- title
title of the page holding the content
- pageid
page ID of the page holding the content
- 型: 整数
例:
- convert blah from wikitext to html
- api.php?action=veforall-parsoid-utils&from=wikitext&to=html&content=''blah''&title=Main_Page [サンドボックスで開く]