MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

(main | query | alllinks)
  • Este módulo requiere permisos de lectura.
  • Este módulo puede utilizarse como un generador.
  • Fuente: MediaWiki
  • Licencia: GPL-2.0+

Enumerar todos los enlaces que apunten a un determinado espacio de nombres.

Parámetros:
alcontinue

Cuando haya más resultados disponibles, utiliza esto para continuar.

alfrom

El título del enlace para comenzar la enumeración.

alto

El título del enlace para detener la enumeración.

alprefix

Buscar todos los títulos vinculados que comiencen con este valor.

alunique

Only show distinct linked titles. Cannot be used with alprop=ids. When used as a generator, yields target pages instead of source pages.

Tipo: booleano/lógico (detalles)
alprop

Qué piezas de información incluir:

ids
Adds the page ID of the linking page (cannot be used with alunique).
title
Añade el título del enlace.
Valores (separados por |): ids, title
Predeterminado: title
alnamespace

El espacio de nombres que enumerar.

Uno de los siguientes valores: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110, 111
Predeterminado: 0
allimit

Cuántos elementos en total se devolverán.

No se permite más de 500 (5000 para los bots).
Tipo: entero o max
Predeterminado: 10
aldir

The direction in which to list.

Uno de los siguientes valores: ascending, descending
Predeterminado: ascending
Ejemplos:
List linked titles, including missing ones, with page IDs they are from, starting at B.
api.php?action=query&list=alllinks&alfrom=B&alprop=ids|title [open in sandbox]
List unique linked titles.
api.php?action=query&list=alllinks&alunique=&alfrom=B [open in sandbox]
Obtiene todos los títulos enlazados, marcando los que falten.
api.php?action=query&generator=alllinks&galunique=&galfrom=B [open in sandbox]
Gets pages containing the links.
api.php?action=query&generator=alllinks&galfrom=B [open in sandbox]