MediaWiki:Apihelp-opensearch-param-warningsaserror
From The Robot's Guide to Humanity
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.