MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de
list=prefixsearch (ps)
- Dieses Modul erfordert Leserechte.
 - Dieses Modul kann als Generator verwendet werden.
 - Quelle: MediaWiki
 - Lizenz: GPL-2.0+
 
Perform a prefix search for page titles.
Despite the similarity in names, this module is not intended to be equivalent to Special:PrefixIndex; for that, see action=query&list=allpages with the apprefix parameter. The purpose of this module is similar to action=opensearch: to take user input and provide the best-matching titles. Depending on the search engine backend, this might include typo correction, redirect avoidance, or other heuristics.
Parameter:
- pssearch
 Such-Zeichenfolge.
- Dieser Parameter ist erforderlich.
 - psnamespace
 Namespaces to search.
- Werte (mit | trennen): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 102, 103
 - Standard: 0
 - pslimit
 Maximum number of results to return.
- Nicht mehr als 100 (200 für Bots) erlaubt.
 - Typ: Ganzzahl oder max
 - Standard: 10
 - psoffset
 Anzahl der zu überspringenden Ergebnisse.
- Typ: Ganzzahl
 - Standard: 0
 
Beispiel:
- Search for page titles beginning with meaning.
 - api.php?action=query&list=prefixsearch&pssearch=meaning [in Spielwiese öffnen]