parse-wikitext
Render wikitext through a live wiki to preview HTML, parse warnings, categories, links, and templates before saving. Useful for dry-running edits or testing template combinations.
Instructions
Renders wikitext through the live wiki without saving. Returns HTML, parse warnings, categories, wikilinks, templates, external URLs, and display title. Suited to dry-running a planned edit before create-page or update-page, or previewing standalone wikitext (template combinations, sanitizer checks) with no target page. HTML output is truncated at 50000 bytes by default with a trailing marker; a smaller wikitext fragment in a follow-up call returns the rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wikitext | Yes | Wikitext to render | |
| title | No | Wiki page title providing context for magic words like {{PAGENAME}}. Defaults to "API". | |
| applyPreSaveTransform | No | Apply pre-save transform (expand ~~~~ signatures, {{subst:}}, normalize whitespace). Matches editor "Show preview" behavior. |