parse-wikitext
Preview wikitext rendering without saving. Returns HTML, parse warnings, categories, wikilinks, templates, external URLs, and display title. Dry-run planned edits or test template combinations with no target page.
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. |