MediaWiki:Apihelp-opensearch-param-warningsaserror

De Ideopedia

If warnings are raised with format=json, return an API error instead of ignoring them.