On Saturday 03 July 2004 11:44, Jens Frank wrote:
On Tue, Jun 29, 2004 at 01:16:43AM +0200, Nikola
Smolenski wrote:
---------- Forwarded Message ----------
Subject: [Wikitech-l] Multiple categories
Date: Sun, 30 May 2004 12:07:09 +0200
From: Nikola Smolenski <smolensk(a)EUnet.yu>
To: Wikimedia developers <wikitech-l(a)Wikipedia.org>
I have made a patch which enables display of all articles that belong to
multiple categories. Thus, for example, Category:Female/Orthodox/Saint
would return all female orthodox saints (that is, all articles which are
categorised with at least [[Category:Female]], [[Category:Orthodox]] and
[[Category:Saint]]).
There are several category names with a / in some languages:
Well, I submitted the patch before people started categorising massively, if
someone took care about it there might be no such categories. Now, it should
be decided is a slash in category name really neccesary; if it isn't, then
those categories could be renamed and slash used, and if it is, some other
token could be suggested.
By the way, I was already thinking about more precise queries and this might
just be the place and time to discuss them.
Displaying all but a single category:
Category:Female/-Orthodox/Saint
would return all female saints which are not Orthodox. I hope that there are
no categories which start with - .
Displaying articles which are in one of several cathegories:
Category:Female/Catholic,Protestant/Saint
would return all female saints which are either Catholic or Protestant.It
would not be possible for comma to have higher priority than slash, but such
a need occurs rarely and if such approach is good enough for Google it should
be good enough for us. I again hope that there are no categories which have a
comma not followed with a space in their names.