Hey Yuri,
This is a really cool idea. It's almost like set theory for categories! You can define certain base categories (based upon manually entering them into the category using existing category syntax), then define other categories based on set theoretic operations on categories. Certainly, if we could go back in time and build categories from the ground up again, I think this approach would be far superior.
This feature is sufficiently complex from a product standpoint that I think the best thing to do here is to wait to see what happens with CirrusSearch's integration with Wikidata. Many cool features like this may end up being obsoleted by any effort for Wikidata integration. If not, we can revisit this then.
Thanks, Dan
On 24 January 2014 01:53, Yuri Astrakhan yastrakhan@wikimedia.org wrote:
Hi, I am thinking of implementing a
#CATQUERY <query>
magic keyword for the category pages.
When this keyword is present, the category page would execute a query against the search backend instead of normal category behavior and show result as if those pages were actually marked with this category.
For example, this would allow Greek Philosophers category page to be quickly redefined as a cross-section of greeks & philosophers categories:
#CATQUERY incategory:Greek incategory:Philosopher
Obviously the community will be able to define much more elaborate queries, including the ordering (will be supported by the new search backend) _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l