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, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/zh/api/extensions/discussiontools/ApiDiscussionToolsFoundComment.md.
  • 中文
  • Interface: ApiDiscussionToolsFoundComment

    Defined in: extensions/discussiontools.ts:147

    One candidate returned by action=discussiontoolsfindcomment.

    Properties

    couldredirect?

    optional couldredirect?: boolean

    Defined in: extensions/discussiontools.ts:169

    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

    Canonical comment id.


    matchedby

    matchedby: string & object | "name" | "id" | "heading"

    Defined in: extensions/discussiontools.ts:161

    How the lookup matched: id, name or heading.


    name

    name: string

    Defined in: extensions/discussiontools.ts:152

    Canonical comment name.


    oldid

    oldid: number | null

    Defined in: extensions/discussiontools.ts:158

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


    shouldredirect?

    optional shouldredirect?: boolean

    Defined in: extensions/discussiontools.ts:176

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

    Since

    MediaWiki 1.41


    title

    title: string

    Defined in: extensions/discussiontools.ts:155

    Page the comment lives on.