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

list=listwikis (sw)

(main | query | listwikis)
  • This module requires read rights.
  • Lähde: ShoutWiki API
  • Lisenssi: CC0-1.0

List all available wikis on ShoutWiki

Parametrit:
swwid

Unique, wiki-specific ID number; use this when you want to get info about a specific wiki and you know its ID number

Type: integer
swdeleted

Also list deleted wikis (optional)

Type: integer
The value must be between 0 and 1.
swfrom

Get all wikis with ID that is equal to or greater than this value

Type: integer
The value must be no less than 1.
swto

Get all wikis with ID that is equal to or lower than this value

Type: integer
The value must be no less than 1.
swcountonly

Return only the amount of wikis

Type: integer
The value must be no less than 1.
swlang

Wiki language code (i.e. en for English, fi for Finnish, etc.)

swlimit

Get information about this many wikis at once

Type: integer or max
The value must be between 1 and 500.
Default: 100
swstart

The timestamp to start enumerating from

Type: timestamp (allowed formats)
swend

The timestamp to end enumerating

Type: timestamp (allowed formats)
swdir

In which direction to enumerate:

newer
List oldest first. Note: swstart has to be before swend.
older
List newest first (default). Note: swstart has to be later than swend.
One of the following values: newer, older
Default: older