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/core/ApiAutopromoteCondition.md.
  • English
  • Interface: ApiAutopromoteCondition

    Defined in: core/query/siteinfo.ts:661

    One autopromote condition. A group's set is an object with numeric keys under fv2 (the PHP array also carries operand), so nested sets surface as "0", "1", … entries alongside operand.

    Indexable

    [position: string]: string | unknown[] | ApiAutopromoteCondition | undefined

    Nested condition sets, keyed by position.

    Properties

    condname?

    optional condname?: string

    Defined in: core/query/siteinfo.ts:663

    Condition constant name, e.g. APCOND_EDITCOUNT.


    operand?

    optional operand?: string

    Defined in: core/query/siteinfo.ts:669

    Operator combining the set: &, |, ^, or !.


    params?

    optional params?: unknown[]

    Defined in: core/query/siteinfo.ts:666

    Arguments for the condition (counts in days, edits, …).