MediaWiki:Apihelp-opensearch-param-warningsaserror/en

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