MediaWiki:Apihelp-opensearch-param-redirects/en

From translatewiki.net
Jump to: navigation, search

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.