Last modified: 2014-10-23 17:41:42 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 T64322, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62322 - Namespaces with diacritics are ignored on search suggestions
Namespaces with diacritics are ignored on search suggestions
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nik Everett
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-06 14:25 UTC by Helder
Modified: 2014-10-23 17:41 UTC (History)
1 user (show)

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


Attachments

Description Helder 2014-03-06 14:25:38 UTC
On https://pt.wikipedia.org, if I type "modulo" in the search box, I get the article "Módulo" as a suggestion, but if I type "modulo:string", there is no suggestion.

Notice that there is a namespace called "Módulo" (in English, "Module"), and the page called "Módulo:String" exists.
Comment 1 Andre Klapper 2014-03-06 17:08:31 UTC
Interesting - CirrusSearch does not provide any proposals at all: https://pt.wikipedia.org/w/index.php?search=modulo%3Astring&title=Especial%3APesquisar&srbackend=CirrusSearch
Comment 2 Nik Everett 2014-10-20 17:36:32 UTC
We're starting to try tracking stuff with phabricator so, for science!:  https://phabricator.wikimedia.org/T720

This looks to be caused by how the namespaces are resolved: cirrus uses mediawiki to resolve the namespaces but lsearchd used lucene.  Lets see what we can do about that.
Comment 3 Nik Everett 2014-10-20 17:55:55 UTC
One way to "fix" this right away would be add Modulo as a namespace alias for Módulo but I'll see if I can make it work in search.
Comment 4 Nik Everett 2014-10-22 18:16:01 UTC
Patch is coming along.  Should be ready in a bit.
Comment 5 Gerrit Notification Bot 2014-10-22 20:06:44 UTC
Change 168167 had a related patch set uploaded by Manybubbles:
Add hook to extract namespace in prefix search

https://gerrit.wikimedia.org/r/168167
Comment 6 Gerrit Notification Bot 2014-10-23 17:39:17 UTC
Change 168167 merged by jenkins-bot:
Add hook to extract namespace in prefix search

https://gerrit.wikimedia.org/r/168167
Comment 7 Nik Everett 2014-10-23 17:41:42 UTC
Resolved.  It'll take some time for this to arrive on a wiki near you because it requires rebuilding the search index which has to come after the code is deployed.

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


Navigation
Links