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

    Defined in: extensions/globalblocks.ts:112

    Result object of action=globalblock. Which fields appear depends on the branch: blocking emits ApiGlobalBlockResult.blocked plus the applied options and ApiGlobalBlockResult.expiry; unblocking emits ApiGlobalBlockResult.unblocked.

    Properties

    allow-account-creation?

    optional allow-account-creation?: ""

    Defined in: extensions/globalblocks.ts:126

    Account creation is disabled by the block; an empty-string marker.


    anononly?

    optional anononly?: ""

    Defined in: extensions/globalblocks.ts:123

    Only anonymous users are affected; an empty-string marker.


    blocked?

    optional blocked?: ""

    Defined in: extensions/globalblocks.ts:117

    The block was applied; an empty-string marker.


    blockedlocally?

    optional blockedlocally?: true

    Defined in: extensions/globalblocks.ts:132

    The target is also blocked locally on this wiki. A Flag.


    enable-autoblock?

    optional enable-autoblock?: ""

    Defined in: extensions/globalblocks.ts:129

    Autoblocking is enabled for the block; an empty-string marker.


    expiry?

    optional expiry?: string

    Defined in: extensions/globalblocks.ts:135

    Block expiry, or infinite.


    unblocked?

    optional unblocked?: ""

    Defined in: extensions/globalblocks.ts:120

    The block was removed; an empty-string marker.


    user?

    optional user?: string

    Defined in: extensions/globalblocks.ts:114

    The blocked or unblocked user name, IP or range.