Ayuda de la API de MediaWiki

Esta es una página de documentación autogenerada de la API de MediaWiki.

Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=listwikis (sw)

(main | query | listwikis)
  • Este módulo requiere permisos de lectura.
  • Fuente: ShoutWiki API
  • Licencia: CC0-1.0

List all available wikis on ShoutWiki

Parámetros:
swwid

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

Tipo: entero
swdeleted

Also list deleted wikis (optional)

Tipo: entero
The value must be between 0 and 1.
swfrom

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

Tipo: entero
The value must be no less than 1.
swto

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

Tipo: entero
The value must be no less than 1.
swcountonly

Return only the amount of wikis

Tipo: entero
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

Tipo: entero o max
The value must be between 1 and 500.
Predeterminado: 100
swstart

The timestamp to start enumerating from

Tipo: timestamp (formatos permitidos)
swend

The timestamp to end enumerating

Tipo: timestamp (formatos permitidos)
swdir

En qué sentido hacer la enumeración:

newer
De más antiguos a más recientes. Nota: swstart debe ser anterior a swend.
older
De más recientes a más antiguos (orden predefinido). Nota: swstart debe ser posterior a swend.
Uno de los siguientes valores: newer, older
Predeterminado: older