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=search (sr)
- Questo modulo richiede i diritti di lettura.
 - Questo modulo può essere utilizzato come generatore.
 - Fonte: MediaWiki
 - Licenza: GPL-2.0-or-later
 
Eseguire una ricerca di testo completa.
- srsearch
 Search for page titles or content matching this value. You can use the search string to invoke special search features, depending on what the wiki's search backend implements.
- Questo parametro è obbligatorio.
 - srnamespace
 Search only within these namespaces.
- Valori (separati da | o alternativa): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
 - Per specificare tutti i valori, utilizza *.
 - Predefinito: 0
 - srlimit
 Quante pagine totali restituire.
- Tipo: intero o max
 - The value must be between 1 and 500.
 - Predefinito: 10
 - sroffset
 Quando più risultati sono disponibili, usa questo per continuare. Informazioni più dettagliate su come continuare le query possono essere trovate su mediawiki.org.
- Type: integer
 - The value must be no less than 0.
 - Predefinito: 0
 - srwhat
 Quale tipo di ricerca effettuare.
- Uno dei seguenti valori: nearmatch, text, title
 - srinfo
 Quali metadati restituire.
- Valori (separati da | o alternativa): rewrittenquery, suggestion, totalhits
 - Predefinito: totalhits|suggestion|rewrittenquery
 - srprop
 Quali proprietà restituire:
- size
 - Aggiungi la dimensione della pagina in byte.
 - wordcount
 - Aggiungi il conteggio delle parole nella pagina.
 - timestamp
 - Aggiungi il timestamp di quando la pagina è stata modificata l'ultima volta.
 - snippet
 - Adds a snippet of the page, with query term highlighting markup.
 - titlesnippet
 - Adds the page title, with query term highlighting markup.
 - redirecttitle
 - Aggiunge il titolo del redirect corrispondente.
 - redirectsnippet
 - Adds the title of the matching redirect, with query term highlighting markup.
 - sectiontitle
 - Aggiunge il titolo della sezione corrispondente.
 - sectionsnippet
 - Adds the title of the matching section, with query term highlighting markup.
 - isfilematch
 - Adds a boolean indicating if the search matched file content.
 - categorysnippet
 - Adds the matching category name, with query term highlighting markup.
 - score
 - Deprecato. Ignorato.
 - hasrelated
 - Deprecato. Ignorato.
 - extensiondata
 - Adds extra data generated by extensions.
 
- Valori (separati da | o alternativa): categorysnippet, extensiondata, isfilematch, redirectsnippet, redirecttitle, sectionsnippet, sectiontitle, size, snippet, timestamp, titlesnippet, wordcount, hasrelated, score
 - Predefinito: size|wordcount|timestamp|snippet
 - srinterwiki
 Include interwiki results in the search, if available.
- Tipo: booleano (dettagli)
 - srenablerewrites
 Enable internal query rewriting. Some search backends can rewrite the query into another which is thought to provide better results, for instance by correcting spelling errors.
- Tipo: booleano (dettagli)
 - srsort
 Imposta l'ordinamento dei risultati restituiti.
- Uno dei seguenti valori: relevance
 - Predefinito: relevance
 
- Search for meaning.
 - api.php?action=query&list=search&srsearch=meaning [apri in una sandbox]
 - Search texts for meaning.
 - api.php?action=query&list=search&srwhat=text&srsearch=meaning [apri in una sandbox]
 - Get page info about the pages returned for a search for meaning.
 - api.php?action=query&generator=search&gsrsearch=meaning&prop=info [apri in una sandbox]