https://bugzilla.wikimedia.org/show_bug.cgi?id=23609

           Summary: search bar suggestions (mw_suggest+TitleKey) should
                    first check exact matches of given prefix
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: TitleKey
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to