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/API

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)

El valor debe estar entre 0 y 1.
Tipo: entero
swfrom

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

El valor no debe ser menor a 1.
Tipo: entero
swto

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

El valor no debe ser menor a 1.
Tipo: entero
swcountonly

Return only the amount of wikis

El valor no debe ser menor a 1.
Tipo: entero
swlang

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

swlimit

Get information about this many wikis at once

No se permite más de 500 (5000 para los bots).
Tipo: entero o max
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