MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

(main | query | links)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo può essere utilizzato come generatore.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0+

Returns all links from the given pages.

Parametri:
plnamespace

Mostra collegamenti solo in questi namespace.

Valori (separati da |): 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
pllimit

Quanti collegamenti restituire.

Non più di 500 (5 000 per bot) consentito.
Tipo: intero o max
Predefinito: 10
plcontinue

Quando più risultati sono disponibili, usa questo per continuare.

pltitles

Only list links to these titles. Useful for checking whether a certain page links to a certain title.

Separa i valori con |. Il numero massimo di valori è 50 (500 per i bot).
pldir

La direzione in cui elencare.

Uno dei seguenti valori: ascending, descending
Predefinito: ascending
Esempi:
Get links from the page Main Page
api.php?action=query&prop=links&titles=Main%20Page [apri in una sandbox]
Get information about the link pages in the page Main Page.
api.php?action=query&generator=links&titles=Main%20Page&prop=info [apri in una sandbox]
Get links from the page Main Page in the Utente and Template namespaces.
api.php?action=query&prop=links&titles=Main%20Page&plnamespace=2|10 [apri in una sandbox]