Last modified: 2013-03-26 11:24:38 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 T12822, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10822 - Underscore is rejected by the incategory search parameter
Underscore is rejected by the incategory search parameter
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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 en.wiki .. 

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.


Navigation
Links