Last modified: 2014-02-12 23:37:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48228, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46228 - opensearch doesn't find similar articles with different capitalization of words
opensearch doesn't find similar articles with different capitalization of words
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
OpenSearchXml (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Brion Vibber
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-16 17:44 UTC by Daniel A. R. Werner
Modified: 2014-02-12 23:37 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel A. R. Werner 2013-03-16 17:44:53 UTC
opensearch doesn't find similar articles if there is a equivalent name in the list of results, but with different capitalization. Even if the string searched for contains the lower case version, the upper cased version of the article will be in the result only.

Try: "http://fr.wikipedia.org/w/api.php?action=opensearch&search=Le%20roi%20est%20mort,%20vive%20le%20roi%20!"

Result will be:

["Le roi est mort, vive le roi !",["Le Roi est mort, vive le Roi !","Le Roi est mort, vive le Roi ! (album)"]]

As you can see, there is no "Le roi est mort, vive le roi !" included in the result (see the difference in the "Roi" vs. "roi") which clearly exists on http://fr.wikipedia.org/wiki/Le_roi_est_mort,_vive_le_roi_!
Comment 1 Brad Jorsch 2013-03-16 18:12:00 UTC
The API module simply calls into the search code to get the results. So reassigning to Lucene search, which is the search backend used on WMF sites.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links