MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=listwikiswithvariable

(main | listwikiswithvariable)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • Source: WikiConfig
  • License: GPL-2.0-or-later

Get a list of wikis where a variable is in a given state.

Specific parameters:
Other general parameters are available.
variable_id

The ID of the variable.

This parameter is required.
Type: integer
operator

The operator to use for querying the value of the variable.

One of the following values: !=, <, <=, <>, =, >, >=, LIKE, NOT LIKE
Default: <>
value

The string to compare the value of the variable against.

Cannot be longer than 100 characters.
Default: (empty)
limit

Limit of the results.

Type: integer
The value must be between 1 and 50.
Default: 50
offset

The offset from which to start showing results.

Type: integer
The value must be no less than 0.
Default: 0