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=allpages (ap)
- Questo modulo richiede i diritti di lettura.
 - Questo modulo può essere utilizzato come generatore.
 - Fonte: MediaWiki
 - Licenza: GPL-2.0-or-later
 
Enumerate all pages sequentially in a given namespace.
- apfrom
 Il titolo di pagina da cui iniziare l'elenco.
- apcontinue
 Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.
- apto
 Il titolo di pagina al quale interrompere l'elenco.
- apprefix
 Ricerca per tutti i titoli delle pagine che iniziano con questo valore.
- apnamespace
 Il namespace da elencare.
- Uno dei seguenti valori: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
 - Predefinito: 0
 - apfilterredir
 Quali pagine elencare.
- Uno dei seguenti valori: all, nonredirects, redirects
 - Predefinito: all
 - apfilterlanglinks
 Filter based on whether a page has langlinks. Note that this may not consider langlinks added by extensions.
- Uno dei seguenti valori: all, withlanglinks, withoutlanglinks
 - Predefinito: all
 - apminsize
 Limit to pages with at least this many bytes.
- Type: integer
 - apmaxsize
 Limit to pages with at most this many bytes.
- Type: integer
 - apprtype
 Limita alle sole pagine protette.
- Valori (separati da | o alternativa): edit, move, upload
 - apprlevel
 Filter protections based on protection level (must be used with apprtype= parameter).
- Valori (separati da | o alternativa): Can be empty, or autoconfirmed, sysop
 - apprfiltercascade
 Filter protections based on cascadingness (ignored when apprtype isn't set).
- Uno dei seguenti valori: all, cascading, noncascading
 - Predefinito: all
 - apprexpiry
 Which protection expiry to filter the page on:
- indefinite
 - Get only pages with indefinite protection expiry.
 - definite
 - Get only pages with a definite (specific) protection expiry.
 - all
 - Get pages with any protections expiry.
 
- Uno dei seguenti valori: all, definite, indefinite
 - Predefinito: all
 - aplimit
 Quante pagine totali restituire.
- Tipo: intero o max
 - The value must be between 1 and 500.
 - Predefinito: 10
 - apdir
 La direzione in cui elencare.
- Uno dei seguenti valori: ascending, descending
 - Predefinito: ascending
 
- Show a list of pages starting at the letter B.
 - api.php?action=query&list=allpages&apfrom=B [apri in una sandbox]
 - Show info about 4 pages starting at the letter T.
 - api.php?action=query&generator=allpages&gaplimit=4&gapfrom=T&prop=info [apri in una sandbox]
 - Show content of first 2 non-redirect pages beginning at Re.
 - api.php?action=query&generator=allpages&gaplimit=2&gapfilterredir=nonredirects&gapfrom=Re&prop=revisions&rvprop=content [apri in una sandbox]