> For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/llms-full.txt.

# VisualEditor

## Interfaces

| Interface                                                                                                                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ApiEditCheckReferenceUrlResponse](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiEditCheckReferenceUrlResponse.md)         | Response of `action=editcheckreferenceurl`: the verdict for the checked URL — `"allowed"` or `"blocked"`. Always exactly one entry, keyed by the requested URL.                                                                                                                                                                                                                                                                                                                        |
| [ApiLastModified](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiLastModified.md)                                           | `lastModified` display parts of the edited page, as emitted by `action=visualeditor`/`visualeditoredit` and by DiscussionTools' `discussiontoolsedit` (both render the same last-modified widget data).                                                                                                                                                                                                                                                                                |
| [ApiVisualEditorCheckboxDef](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiVisualEditorCheckboxDef.md)                     | One field of the edit form (`checkboxesDef.wpMinoredit`, `wpWatchthis`, `wpWatchlistExpiry`).                                                                                                                                                                                                                                                                                                                                                                                          |
| [ApiVisualEditorEditResponse](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiVisualEditorEditResponse.md)                   | Response of `action=visualeditoredit`.                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [ApiVisualEditorPageFrame](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiVisualEditorPageFrame.md)                         | The page frame both `visualeditor` and `visualeditoredit` return.                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [ApiVisualEditorParseFragmentResponse](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiVisualEditorParseFragmentResponse.md) | Response of `action=visualeditor` with `paction=parsefragment`: just the transformed fragment and the outcome flag.                                                                                                                                                                                                                                                                                                                                                                    |
| [ApiVisualEditorResponse](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiVisualEditorResponse.md)                           | Response of `action=visualeditor` for `paction=parse`, `wikitext` and `metadata`, which share one payload. The other `paction` values return different shapes — see [ApiVisualEditorTemplatesUsedResponse](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiVisualEditorTemplatesUsedResponse.md) and [ApiVisualEditorParseFragmentResponse](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiVisualEditorParseFragmentResponse.md). |
| [ApiVisualEditorTemplatesUsedResponse](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiVisualEditorTemplatesUsedResponse.md) | Response of `action=visualeditor` with `paction=templatesused`, where the module writes an HTML string instead of the usual object.                                                                                                                                                                                                                                                                                                                                                    |
