> 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.

# Interface: ApiDiscussionToolsEditResponse

Defined in: [extensions/discussiontools.ts:286](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/discussiontools.ts#L286)

Response of `action=discussiontoolsedit`.

## Extends

- [`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md)

## Properties

### batchcomplete?

> `optional` **batchcomplete?**: `true`

Defined in: [envelope/index.ts:178](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/envelope/index.ts#L178)

Present and `true` when all data for the current batch of pages has been
returned. Continuation may still be ongoing: the generator runs again for
the next batch of pages, and list/meta modules may continue independently.
Serialized as a real boolean under `formatversion=2`.

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`batchcomplete`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#batchcomplete)

***

### curtimestamp?

> `optional` **curtimestamp?**: `string`

Defined in: [envelope/index.ts:187](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/envelope/index.ts#L187)

Current server time (ISO 8601), present when the request set `curtimestamp`.

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`curtimestamp`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#curtimestamp)

***

### discussiontoolsedit

> **discussiontoolsedit**: `object`

Defined in: [extensions/discussiontools.ts:288](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/discussiontools.ts#L288)

Result of `action=discussiontoolsedit`.

#### categorieshtml?

> `optional` **categorieshtml?**: `string`

Category HTML added by the saved comment.

#### content?

> `optional` **content?**: `string`

Rendered HTML of the saved comment area.

#### contentSub?

> `optional` **contentSub?**: `string`

Page subtitle (parsed HTML), copied from the underlying `action=parse` output.

#### displayTitleHtml?

> `optional` **displayTitleHtml?**: `string`

Display title, HTML form.

#### isRedirect?

> `optional` **isRedirect?**: `string`

Empty string for a normal page. The module copies `action=parse`'s field,
which is a `Flag`-like empty string under fv2 rather than a boolean.

#### jsconfigvars?

> `optional` **jsconfigvars?**: `Record`\<`string`, `unknown`>

ResourceLoader config variables (includes the thread model).

#### lastModified?

> `optional` **lastModified?**: [`ApiLastModified`](https://types-mediawiki-response.pages.dev/api/extensions/visualeditor/ApiLastModified.md)

When the page last changed, in display parts.

#### modules?

> `optional` **modules?**: `string`\[]

ResourceLoader module names to load.

#### newrevid?

> `optional` **newrevid?**: `number`

New revision id; absent when nothing was saved.

#### nocontent?

> `optional` **nocontent?**: `true`

`true` when the content above was withheld (the `nocontent` request
parameter) but had to be fetched internally anyway.

##### Since

MediaWiki 1.42

#### result?

> `optional` **result?**: `"error"` | `"success"`

Outcome of the delegated `action=visualeditoredit` call: `success` when
the comment was saved, `error` when the save was rejected.

#### sections?

> `optional` **sections?**: `unknown`\[]

Section list after the edit.

#### tempusercreated?

> `optional` **tempusercreated?**: `true`

`true` when a temporary account was created by this edit.

#### tempusercreatedredirect?

> `optional` **tempusercreatedredirect?**: `string`

Redirect URL for a just-created temporary account, when one applies.

#### watched?

> `optional` **watched?**: `boolean`

Whether the user now watches the page.

#### watchlistexpiry?

> `optional` **watchlistexpiry?**: [`WatchlistExpiry`](https://types-mediawiki-response.pages.dev/api/core/WatchlistExpiry.md)

When that watch expires; `null` for a permanent watch.

***

### errorlang?

> `optional` **errorlang?**: `string`

Defined in: [envelope/index.ts:199](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/envelope/index.ts#L199)

Language error messages are rendered in (`responselanginfo=1`).

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`errorlang`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#errorlang)

***

### requestid?

> `optional` **requestid?**: `string`

Defined in: [envelope/index.ts:190](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/envelope/index.ts#L190)

Opaque value echoed back from the request's `requestid` parameter.

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`requestid`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#requestid)

***

### servedby?

> `optional` **servedby?**: `string`

Defined in: [envelope/index.ts:184](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/envelope/index.ts#L184)

Identifier of the server that handled the request. Present by default on
error responses; on successful responses only when explicitly requested.

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`servedby`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#servedby)

***

### uselang?

> `optional` **uselang?**: `string`

Defined in: [envelope/index.ts:196](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/envelope/index.ts#L196)

Language of the interface strings in the response (`responselanginfo=1`).

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`uselang`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#uselang)

***

### warnings?

> `optional` **warnings?**: [`ApiWarnings`](https://types-mediawiki-response.pages.dev/api/core/ApiWarnings.md)

Defined in: [envelope/index.ts:193](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/envelope/index.ts#L193)

Non-fatal warnings; shape depends on `errorformat` (see [ApiWarnings](https://types-mediawiki-response.pages.dev/api/core/ApiWarnings.md)).

#### Inherited from

[`ApiEnvelope`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md).[`warnings`](https://types-mediawiki-response.pages.dev/api/core/ApiEnvelope.md#warnings)
