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

    Defined in: extensions/discussiontools.ts:226

    One comment item in a discussiontoolscompare diff: the thread-item shape (see ApiDiscussionToolsComment) with replies flattened to comment ids and the heading references appended.

    Properties

    author?

    optional author?: string

    Defined in: extensions/discussiontools.ts:243

    Who wrote the comment.


    headingId?

    optional headingId?: string

    Defined in: extensions/discussiontools.ts:246

    Id of the heading the comment sits under.


    id?

    optional id?: string

    Defined in: extensions/discussiontools.ts:228

    Comment id.


    level?

    optional level?: number

    Defined in: extensions/discussiontools.ts:234

    Rendering level.


    replies?

    optional replies?: string[]

    Defined in: extensions/discussiontools.ts:237

    Ids of nested replies (shallow serialization).


    subscribableHeadingId?

    optional subscribableHeadingId?: string | null

    Defined in: extensions/discussiontools.ts:249

    Id of the nearest subscribable heading; null when there is none.


    timestamp?

    optional timestamp?: string

    Defined in: extensions/discussiontools.ts:240

    When it was signed — the compact id/name timestamp form (YYYYMMDDHHMMSS); comments predating 2022-07 are ISO 8601 instead.


    type?

    optional type?: string

    Defined in: extensions/discussiontools.ts:231

    Comment type, e.g. comment.