Last modified: 2013-09-20 15:26:27 UTC
possibly a search _page_ advanced options would be: *specify categories *specify date range (for wikinews)
We have a search page, it's called [[Special:Search]]; but yes, it could be enhanced. Editting summary of this bug to reflect exact feature requested.
Maybe some kind of intersection of categories should be implemented. For now we ought to have categories like "French physicists" which must be a simple intersection of categories "France" and "Physicists". And if someone would seek for e.g. a list of French physicists of XIX century he has no choice.
Restored bug from flood attack.
See http://wikicities.com/index.php?title=Special:Search&adv=1 (section #Metadata) to see how the search by category could work. See bug 5244 for the multi category search.
It seems that this bug can be closed, as Lucene Search 2.0 does the job with the "incategory:" search ? Now another super-extra-wonderful idea would be to create a search page on which you can intersect two categories, a bit like on http://tools.wikimedia.de/~bayo/intercat.php. Even just having a couple of inputboxes in which you enter two category names (which result in a search like "incategory:A AND incategory:B") would be great.
Well, no, ls2 doesn't do this. The incategory keyword is there, and (some) categories are in the index, but the current way of maintaining them is not very good. Especially if categories are within templates, or embedded in some other nontrivial way. That's why I haven't announced the category search in the last release note on wikitech-l. So, I would say this bug is still open.
*** Bug 12037 has been marked as a duplicate of this bug. ***
That would be *very* useful, also in Wikisource, which could be used as a real thesaurus, e.g. to search only texts written in a certain century (if the pages are in an appropriate category).
Actually, since century categories on wikisource are added in-text, you can already do it, try: http://en.wikisource.org/w/index.php?search=incategory%3A%225th+century+works%22&ns0=1&title=Special%3ASearch&fulltext=Search&fulltext=Search This won't do subcategories though (it handles categories more like tags)
Or rather something in the lines of: http://en.wikisource.org/w/index.php?search=fragments+incategory%3A%222nd+century+works%22&ns0=1&title=Special%3ASearch&fulltext=Search&fulltext=Search
(In reply to comment #9) > This won't do subcategories though (it handles categories more like tags) And it doesn't seem to find all pages, neither: compare http://it.wikisource.org/wiki/Categoria:Opere_letterarie_del_XVI_secolo (440 elements) and http://it.wikisource.org/w/index.php?title=Speciale:Ricerca&limit=20&offset=60&ns0=1&redirs=1&search=%22Opere+letterarie+del+XVI+secolo%22 (69 results) or http://it.wikisource.org/w/index.php?search=incategory%3A%22Opere+letterarie+del+XVI+secolo%22&ns0=1&title=Speciale%3ARicerca&fulltext=Search&fulltext=Ricerca (56 results). That's because of this, I suppose: (In reply to comment #6) > categories are within templates, or embedded in some > other nontrivial way.
The +incategory feature should also ignore nowikified categories.
This issue has been brought up on Wikinews, there are several items to consider. *Ability to search for articles in categories *Ability to do intersections ( catA and catB ) *Ability to search articles not in a specific category *Ability to search articles in a category and all sub-categories
In addition to just within certain cats, for Wikinews it would be very useful also to exclude certain cats, see http://en.wikinews.org/wiki/Wikinews:Water_cooler/proposals#Categorisation_issues
Just a note that if the incategory feature or another is made to also detect pages indirectly categorized, that is, through transclusion, there should also be a feature which detects pages directly in the category - what incategory does now, as we sometimes need to see pages that are directly, or indirectly, in the category.
*** Bug 4286 has been marked as a duplicate of this bug. ***
This bug is in MediaWiki core product, but maybe it is of interest that the new CirrusSearch extension improves category filtering a lot: http://lists.wikimedia.org/pipermail/wikitech-ambassadors/2013-August/000363.html
*** Bug 31028 has been marked as a duplicate of this bug. ***