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/core/ApiProtectedTitle.md.
  • 中文
  • Interface: ApiProtectedTitle

    Defined in: core/query/protectedtitles.ts:17

    One protected title. ptprop controls which fields appear.

    Properties

    comment?

    optional comment?: string

    Defined in: core/query/protectedtitles.ts:40

    Raw protection reason. ptprop=comment.


    expiry?

    optional expiry?: string

    Defined in: core/query/protectedtitles.ts:46

    When the protection lapses, or infinity. ptprop=expiry.


    level?

    optional level?: ProtectedTitleLevel

    Defined in: core/query/protectedtitles.ts:25

    Restriction level applied, e.g. sysop. ptprop=level.


    ns

    ns: number

    Defined in: core/query/protectedtitles.ts:19

    Namespace index.


    parsedcomment?

    optional parsedcomment?: string

    Defined in: core/query/protectedtitles.ts:43

    HTML-rendered protection reason. ptprop=parsedcomment.


    timestamp?

    optional timestamp?: string

    Defined in: core/query/protectedtitles.ts:28

    When the protection was applied. ptprop=timestamp.


    title

    title: string

    Defined in: core/query/protectedtitles.ts:22

    The protected (non-existent) title.


    user?

    optional user?: string

    Defined in: core/query/protectedtitles.ts:31

    Name of the protecting user. ptprop=user.


    userid?

    optional userid?: number

    Defined in: core/query/protectedtitles.ts:37

    Id of the protecting user. ptprop=userid; also emitted with ptprop=user (B/C).