[WikiEN-l] Re: A first encounter with Categories

Nikola Smolenski smolensk at eunet.yu
Tue Jun 8 04:30:32 UTC 2004


On Monday 07 June 2004 20:13, Daniel Mayer wrote:
> --- Timwi <timwi at gmx.net> wrote:
> > Stan Shebs wrote:
> > > there are a couple of different approaches. One is to
> > > create categories for every conjunction of categories - if you have
> > > "hotels" and "museums" and "Ohio", that means you should have "hotels
> > > in Ohio" and "museums in Ohio" categories.
> >
> > I favour this approach. Without it, [[Category:Museums]] would contain
> > *all* museums in the world (millions!), and [[Category:Ohio]] would
> > contain absolutely *everything* about Ohio (cities, museums,
> > exhibitions, operas, theatres, cinemas, railways, bus lines,
> > sightseeing, TV stations, and all sorts of other unrelated things).
>
> That is simply bad database design. A user should be able to select
> [Museums] WITHIN [Ohio] or just [Museums] or even just [Ohio]. Otherwise
> different tags will be needed for all possible combinations of museums,
> sport stadiums, or amusement parks in every single area of the world. It
> would be much better to have tags for the places and tags for things. Let
> the user decide what combination of variables he or she wants to select.
> That will require an advanced search capability to be added to MediaWiki,
> but I assume that was planned anyway.

Haven't I just wrote that I have a patch which does exactly that? 
Category:Museums/Ohio returns all pages in Category:Museums and 
Category:Ohio.





More information about the WikiEN-l mailing list