MediaWiki:Apihelp-opensearch-param-warningsaserror
From MiMec
If warnings are raised with format=json, return an API error instead of ignoring them.
If warnings are raised with format=json, return an API error instead of ignoring them.