Last modified: 2011-08-19 19:12:26 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 T25609, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23609 - search bar suggestions (mw_suggest+TitleKey) should first check exact matches of given prefix
search bar suggestions (mw_suggest+TitleKey) should first check exact matches...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
TitleKey (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 27411
  Show dependency treegraph
 
Reported: 2010-05-20 15:51 UTC by lampak
Modified: 2011-08-19 19:12 UTC (History)
1 user (show)

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


Attachments

Description lampak 2010-05-20 15:51:09 UTC
Try typing (or copy-pasting) "Jeż" into the search bar on Polish Wikipedia. What you should expect is articles about hedgehogs (that's what "jeż" means in Polish). What you get, however, are loads of pages on languages (language = "język"). It happens even though "Jeż" matches exactly a redirect and there are more pages titles of which begin with this word. 

I understand it's meant for people who are too lazy or don't have an appropriate keyboard, or do but can't operate it, to type ż or ę. The search bar though should reward those who take more effort typing. 

I can see two solutions here: 

1) First try to match the prefix exactly and fill up with not-exact matches to the maximum number of search results. Display the exactly matched prefixes before the ones with dropped diacritics. 

2) Only add diacritics - do not drop them (sounds more viable to me, though it wouldn't work if "jęż" were a sensible word)
Comment 1 Bugmeister Bot 2011-08-19 19:12:26 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734

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


Navigation
Links