> 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.

# Interface: ApiAutopromoteCondition

Defined in: [core/query/siteinfo.ts:661](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/siteinfo.ts#L661)

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](#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](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/siteinfo.ts#L663)

Condition constant name, e.g. `APCOND_EDITCOUNT`.

***

### operand?

> `optional` **operand?**: `string`

Defined in: [core/query/siteinfo.ts:669](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/siteinfo.ts#L669)

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

***

### params?

> `optional` **params?**: `unknown`\[]

Defined in: [core/query/siteinfo.ts:666](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/siteinfo.ts#L666)

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