Ayuda de la API de MediaWiki
Esta es una página de documentación autogenerada de la API de MediaWiki.
Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=WikiSearchHighlight
- Este módulo requiere permisos de lectura.
- Fuente: WikiSearch
- Licencia: GPL-2.0-or-later
Create highlight snippets from an ElasticSearch search query
Parámetros específicos:
Other general parameters are available.
- query
The query to generate highlights from
- Este parámetro es obligatorio.
- properties
The properties to generate highlights from
- Este parámetro es obligatorio.
- page_id
The page for which you want to generate highlights
- Este parámetro es obligatorio.
- Tipo: entero
- limit
The maximum number of highlights to return
- Este parámetro es obligatorio.
- Tipo: entero
- size
The size of the snippets to return (leave blank to highlight individual words)
- Tipo: entero
- El valor debe estar entre 1 y 250.
- highlighter_type
- ⧼apihelp-query+WikiSearchHighlight-param-highlighter_type⧽