MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=search (sr)
- Dieses Modul erfordert Leserechte.
- Dieses Modul kann als Generator verwendet werden.
- Quelle: MediaWiki
- Lizenz: GPL-2.0-or-later
Führt eine Volltextsuche aus.
- 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.
- Dieser Parameter ist erforderlich.
- srnamespace
Search only within these namespaces.
- Werte (mit | trennen oder Alternative): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015, 3016, 3017, 3018, 3019, 3020, 3021, 3022, 3023, 3024, 3025, 3026, 3027, 3028, 3029, 3030, 3031, 3032, 3033, 3034, 3035, 3036, 3037, 3038, 3039, 3040, 3041, 3042, 3043, 3044, 3045, 3046, 3047, 3048, 3049, 3050, 3051, 3052, 3053, 3054, 3055, 3056, 3057, 3058, 3059, 3060, 3061, 3062, 3063, 3064, 3065, 3066, 3067, 3068, 3069, 3070, 3071, 3072, 3073, 3074, 3075, 3076, 3077, 3078, 3079, 3080, 3081, 3082, 3083, 3084, 3085, 3086, 3087, 3088, 3089, 3090, 3091, 3092, 3093, 3094, 3095, 3096, 3097, 3098, 3099, 3100, 3101, 3102, 3103, 3104, 3105, 3106, 3107, 3108, 3109, 3110, 3111, 3112, 3113, 3114, 3115, 3116, 3117, 3118, 3119, 3120, 3121, 3122, 3123, 3124, 3125, 3126, 3127, 3128, 3129, 3130, 3131, 3132, 3133, 3134, 3135, 3136, 3137, 3138, 3139, 3140, 3141, 3142, 3143, 3144, 3145, 3146, 3147, 3148, 3149, 3150, 3151, 3152, 3153, 3154, 3155, 3156, 3157, 3158, 3159, 3160, 3161, 3162, 3163, 3164, 3165, 3166, 3167, 3168, 3169, 3170, 3171, 3172, 3173, 3174, 3175, 3176, 3177, 3178, 3179, 3180, 3181, 3182, 3183, 3184, 3185, 3186, 3187, 3188, 3189, 3190, 3191, 3192, 3193, 3194, 3195, 3196, 3197, 3198, 3199, 3200, 3201, 3202, 3203, 3204, 3205, 3206, 3207, 3208, 3209, 3210, 3211, 3212, 3213, 3214, 3215, 3216, 3217, 3218, 3219, 3220, 3221, 3222, 3223, 3224, 3225, 3226, 3227, 3228, 3229, 3230, 3231, 3232, 3233, 3234, 3235
- Die maximale Anzahl von Werten beträgt 50 (500 für Clients, denen höhere Limits erlaubt sind).
- Um alle Werte anzugeben, verwende *.
- Standard: 0
- srlimit
Wie viele Seiten insgesamt zurückgegeben werden sollen.
- Typ: Ganzzahl oder max
- Der Wert muss zwischen 1 und 500 liegen.
- Standard: 10
- sroffset
Falls weitere Ergebnisse verfügbar sind, dies zum Fortfahren verwenden. Ausführlichere Informationen zum Fortsetzen von Abfragen befinden sich auf mediawiki.org.
- Typ: Ganzzahl
- Standard: 0
- srwhat
Welcher Suchtyp ausgeführt werden soll.
- Einer der folgenden Werte: nearmatch, text, title
- srinfo
Welche Metadaten zurückgegeben werden sollen.
- Werte (mit | trennen oder Alternative): rewrittenquery, suggestion, totalhits
- Standard: totalhits|suggestion|rewrittenquery
- srprop
Eigenschaften zur Rückgabe:
- size
- Fügt die Größe der Seite in Bytes hinzu.
- wordcount
- Ergänzt den Wortzähler der Seite.
- timestamp
- Adds the timestamp of when the page was last edited.
- snippet
- Adds a snippet of the page, with query term highlighting markup.
- titlesnippet
- Adds the page title, with query term highlighting markup.
- redirecttitle
- Adds the title of the matching redirect.
- redirectsnippet
- Adds the title of the matching redirect, with query term highlighting markup.
- sectiontitle
- Adds the title of the matching section.
- 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
- Veraltet. Ignoriert.
- hasrelated
- Veraltet. Ignoriert.
- extensiondata
- Ergänzt zusätzliche von Erweiterungen erzeugte Daten.
- Werte (mit | trennen oder Alternative): categorysnippet, extensiondata, isfilematch, redirectsnippet, redirecttitle, sectionsnippet, sectiontitle, size, snippet, timestamp, titlesnippet, wordcount, hasrelated, score
- Standard: size|wordcount|timestamp|snippet
- srinterwiki
Include interwiki results in the search, if available.
- Type: boolean (details)
- 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.
- Type: boolean (details)
- srsort
Legt die Sortierreihenfolge der zurückgegebenen Ergebnisse fest.
- Einer der folgenden Werte: relevance
- Standard: relevance
- Nach meaning suchen.
- api.php?action=query&list=search&srsearch=meaning [in Spielwiese öffnen]
- Texte nach meaning durchsuchen.
- api.php?action=query&list=search&srwhat=text&srsearch=meaning [in Spielwiese öffnen]
- Get page info about the pages returned for a search for meaning.
- api.php?action=query&generator=search&gsrsearch=meaning&prop=info [in Spielwiese öffnen]