MediaWiki:Apihelp-opensearch-param-warningsaserror

From ROK EDDA

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