MediaWiki API help
This is an auto-generated MediaWiki Action API documentation page.
action=wandachat
- This module requires read rights.
- This module only accepts POST requests.
- Source: Wanda
- License: GPL-2.0-or-later
Send a question or request to the Wanda extension chatbot
- message
Message to be sent to the chatbot
- Default: (empty)
- customprompt
Prompt text to use instead of the default prompt
- Default: (empty)
- customprompttitle
Title of a wiki page to use as a custom prompt template
- Default: (empty)
- maxtokens
Maximum number of tokens in the response
- Type: integer
- Default: 1000
- model
Language model to use for generating the response
- Default: gemini-3.5-flash-lite
- provider
Cloud provider to use for the language model
- Default: gemini
- apikey
API key for the cloud provider
- Default: (empty)
- timeout
Timeout in seconds for the API request
- Type: integer
- Default: 30
- temperature
Sampling temperature for response generation (0.0 to 1.0). Higher values yield more diverse responses.
- Default: 0.7
- skipesquery
Whether to skip Elasticsearch query
- Type: boolean (details)
- images
Pipe-separated list of image titles to attach (e.g., 'File:Example.jpg|File:Image2.png')
- Default: (empty)
- conversationhistory
JSON-encoded array of previous conversation messages, each with 'role' and 'content' fields.
- Default: (empty)
- conversationmemoryenabled
Whether to remember this conversation
- Type: boolean (details)
- sources
Pipe-separated list of sources to use for retrieval (e.g. 'wiki|wikidata|cargo|smw'). Supported values: wiki, cargo, smw, externalwiki, publicknowledge, any configured Wikibase source keys, and any configured RAG source names. Defaults to 'wiki'.
- Default: wiki