https://bugzilla.wikimedia.org/show_bug.cgi?id=58309
Web browser: ---
Bug ID: 58309
Summary: opensearch: Querying for "Big" or "Big!" should
include "Big" or "Big!" as first suggestion
Product: Wikimedia
Version: wmf-deployment
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Blocks: 27411
Classification: Unclassified
Mobile Platform: ---
The following pages all exist on en.wikipedia.org:
* [[Bird]]
* [[Big]]
* [[Big!]]
* [[Big Ten Conference]]
When querying action=opensearch for:
* "Bir": 0 => "Bird"
https://en.wikipedia.org/w/api.php?format=json&action=opensearch&namespace=0&search=Bir
[input,["Bird","Birmingham",..]]
* "Bird": 0 => "Bird"
https://en.wikipedia.org/w/api.php?format=json&action=opensearch&namespace=0&search=Bird
[input,["Bird","BirdLife International",..]]
* "Big":
https://en.wikipedia.org/w/api.php?format=json&action=opensearch&namespace=0&search=Big
["Big",["Big Ten Conference","Big band",...]]
* "Big":
https://en.wikipedia.org/w/api.php?format=json&action=opensearch&namespace=0&search=Big!
["Big!",["Big Ten Conference","Big band",...]]
In the last two, "Big" and "Big!" are nowhere in the response.
Filing against Wikimedia for now, because this seems related to one of our
search backends, not plain MediaWiki core or plain MediaWiki core with
Extension:TitleKey installed.
This is currently causing issues in VisualEditor when making a link to a page
called "Big", or "Big!" as it will think the page doesn't exist and suggest to
make a red link, as, thus far, we've always assumed that if a page by the exact
title exists, it should be the first suggestion.
It normalising casing and/or special characters is fine, but shouldn't make it
not give an exact match as first result.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l