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

# Interface: ApiDiscussionToolsFoundComment

Defined in: [extensions/discussiontools.ts:147](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L147)

One candidate returned by `action=discussiontoolsfindcomment`.

## Properties

### couldredirect?

> `optional` **couldredirect?**: `boolean`

Defined in: [extensions/discussiontools.ts:169](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L169)

Whether the request could be redirected to a permalink. Absent in the 1.41
`findcomment` release, which unset it; emitted from 1.42.

#### Since

MediaWiki 1.42

***

### id

> **id**: `string`

Defined in: [extensions/discussiontools.ts:149](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L149)

Canonical comment id.

***

### matchedby

> **matchedby**: `string` & `object` | `"name"` | `"id"` | `"heading"`

Defined in: [extensions/discussiontools.ts:161](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L161)

How the lookup matched: `id`, `name` or `heading`.

***

### name

> **name**: `string`

Defined in: [extensions/discussiontools.ts:152](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L152)

Canonical comment name.

***

### oldid

> **oldid**: `number` | `null`

Defined in: [extensions/discussiontools.ts:158](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L158)

Revision id of the permalink; `null` when the revision is the current one.

***

### shouldredirect?

> `optional` **shouldredirect?**: `boolean`

Defined in: [extensions/discussiontools.ts:176](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L176)

Whether it should be (the target differs from what was asked).

#### Since

MediaWiki 1.41

***

### title

> **title**: `string`

Defined in: [extensions/discussiontools.ts:155](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/discussiontools.ts#L155)

Page the comment lives on.
