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
prop=categories (cl)
- Questo modulo richiede i diritti di lettura.
 - Questo modulo può essere utilizzato come generatore.
 - Fonte: MediaWiki
 - Licenza: GPL-2.0-or-later
 
Elenca tutte le categorie a cui appartengono le pagine.
Parametri:
- clprop
 Quali proprietà aggiuntive ottenere per ogni categoria.
- sortkey
 - Adds the sortkey (hexadecimal string) and sortkey prefix (human-readable part) for the category.
 - timestamp
 - Adds timestamp of when the category was added.
 - hidden
 - Tags categories that are hidden with 
__HIDDENCAT__. 
- Valori (separati da | o alternativa): hidden, sortkey, timestamp
 - clshow
 Quale tipo di categorie mostrare.
- Valori (separati da | o alternativa): !hidden, hidden
 - cllimit
 Quante categorie restituire.
- Tipo: intero o max
 - The value must be between 1 and 500.
 - Default: 10
 - clcontinue
 Quando più risultati sono disponibili, usa questo per continuare.
- clcategories
 Only list these categories. Useful for checking whether a certain page is in a certain category.
- Separa i valori con | o alternativa.
 - Maximum number of values is 50 (500 for clients that are allowed higher limits).
 - cldir
 La direzione in cui elencare.
- Uno dei seguenti valori: ascending, descending
 - Default: ascending
 
Esempi:
- Get a list of categories the page Albert Einstein belongs to.
 - api.php?action=query&prop=categories&titles=Albert%20Einstein [apri in una sandbox]
 - Get information about all categories used in the page Albert Einstein.
 - api.php?action=query&generator=categories&titles=Albert%20Einstein&prop=info [apri in una sandbox]