New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
search_opensearch.php wrongly indicates that each suggestion has exactly 1 result #10017
Comments
The descriptions displayed under the OpenSearch suggestions in a web browser always said "1 result". This also emitted a warning on the server-side: > PHP Warning: array_key_exists(): The first argument should be > either a string or an integer) Fixes doxygen#10017.
Please don't add a link to a pull request that closes the issue. |
The descriptions displayed under the OpenSearch suggestions in a web browser always said "1 result". This also emitted a warning on the server-side: > PHP Warning: array_key_exists(): The first argument should be > either a string or an integer) Ref doxygen#10017.
@albert-github Okay, I've updated the commit message to say "Ref" instead of "Fixes" to avoid automatic closure. |
This issue was previously marked 'fixed but not released', |
Describe the bug (Actual behaviour):
https://doc.wikimedia.org/mediawiki-core/master/php/search_opensearch.php?v=json
There is also a warning in the server-side PHP error.log:
Expected behavior
Version
1.9.6
The text was updated successfully, but these errors were encountered: