Last modified: 2013-03-26 11:24:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10822 - Underscore is rejected by the incategory search parameter
Underscore is rejected by the incategory search parameter
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-08-06 17:04 UTC by folengo
Modified: 2013-03-26 11:24 UTC (History)
2 users (show)

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


Description folengo 2007-08-06 17:04:17 UTC
In the search box, incategory:"Irish writers", using a space, works fine while incategory:"Irish_writers" using an underscore, will not give any result. 

As a consequence,  {{PAGENAMEE}} is obsolete as far as parameter incategory:"" is concerned. 

Could you provide a new magic word (call it {{PAGENAMEF}}) that would be both "URL-friendly" and "incategory-search-friendly" ? 

Or can you do something so that "Irish_writers" with an underscore can be used after "incategory:" ?
Comment 1 Robert Stojnic 2007-08-06 17:51:46 UTC
Fixed in r24628. Underscores in category names will now always be converted to spaces. 

However, I discourage usage of incategory keyword, it's still not fully functional (as of lucene-search 2.0.2).
e.g. it doesn't work properly if you use categories within templates, like {{stub}} on .. 

Comment 2 folengo 2007-08-06 19:46:39 UTC
Thanks, Robert. Do you have any idea when your fix becomes operational on a given Wikipedia ?
Comment 3 Kalan 2007-08-07 05:20:37 UTC
Refresh [[Special:Version]] until r24628 will appear. I think it will take about five to ten days to test and update changes.
Comment 4 Andre Klapper 2013-03-26 11:24:38 UTC
[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]

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