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)

(main | query | search)
  • 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.

Parametri specifici:
Sono disponibili altri parametri generali.
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.

This parameter is required.
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, 710, 711, 828, 829
Per specificare tutti i valori, utilizza *.
Default: 0
srlimit

Quante pagine totali restituire.

Tipo: intero o max
The value must be between 1 and 500.
Default: 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.
Default: 0
srqiprofile

Query independent profile to use (affects ranking algorithm).

classic
Ranking cu' bbase 'o nummero 'e cullegamente ca traseno, cocche template, 'a lengua d' 'a voce e quant'è nova 'a voce ('e template/lengua/nuvità putessero nun stà a disposizione ancora int'a sta wiki).
classic_noboostlinks
Ranking cu' bbase 'a cocche template, 'a lengua d' 'a voce e quant'è nova 'a voce, quanno fuje appicciata int'a stu wiki sta voce.
empty
Ranking cu' bbase 'e caratteristiche dipendente (sulo pe' debug).
wsum_inclinks
Weighted sum based on incoming links
wsum_inclinks_pv
Weighted sum based on incoming links and weekly pageviews
popular_inclinks_pv
Ranking based primarily on page views
popular_inclinks
La classifica si basa principalmente sul numero di collegamenti in entrata
growth_underlinked
Internal rescore profile used in GrowthExperiments link recommendations for prioritizing articles which do not yet have enough links.
engine_autoselect
Let the search engine decide on the best profile to use.
Uno dei seguenti valori: classic, classic_noboostlinks, empty, engine_autoselect, growth_underlinked, popular_inclinks, popular_inclinks_pv, wsum_inclinks, wsum_inclinks_pv
Default: engine_autoselect
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
Default: 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
Default: 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: create_timestamp_asc, create_timestamp_desc, incoming_links_asc, incoming_links_desc, just_match, last_edit_asc, last_edit_desc, none, random, relevance, user_random
Default: relevance