MediaWiki:Apihelp-opensearch-param-redirects
From changemakerlab
How to handle redirects:
- return
- Return the redirect itself.
- resolve
- Return the target page. May return fewer than $1limit results.
For historical reasons, the default is "return" for $1format=json and "resolve" for other formats.