[Mediawiki-l] Namespace which extends Category ?

Sylvain Machefert iubito at gmail.com
Thu Mar 1 00:02:45 UTC 2007


Hello,

Is there a way to create namespaces that act exactly as Category

The articles of my wiki are folkloric songs lyrics and related informations
(translation, video, music notation...)
A song can by performed by several artists (let's say Jeff and John).
Each artist is a category (Category:Jeff and Category:John) and TheSong is
in both categories
In [[TheSong]] I write [[Category:Jeff]][[Category:John]]
but I also write [[Category:TheFilm]] if it's a soundtrack of a film, and
[[Category:TheCountry]] to tell where it comes from, and rhythm, dance...

Then I've a lot of categories :
- Category:Jeff
- Category:John
- ...
- Category:TheFilmNumber 1
- Category:TheFilmNumber 1
- ...
- Category:Greece
- Category:Hungary
- ...
- Category:Waltz
- Category:Tango

To categorize these categories, I added them to super-categories :
- Category:Artist
- Category:Country
- Category:Dance style
- Category:Rhythm
- Category:Film
- ...

It allows me to browse choosing an index : by country, by artist...

I'd like to create Artist, Rythm, Country... namespaces which would act
exactly as actual categories, i.e. an [[Artist:Jeff]] is a category
displaying articles (songs) where I'd have added [[Artist:Jeff]] instead of
[[Category:Jeff]].
This would allow to search in artist name, film title... which is more user
friendly than Main and Category.

Is that possible ? And how ?
Thanks in advance

-- 
Sylvain Machefert
http://iubito.free.fr
http://tousauxbalkans.jexiste.fr


More information about the MediaWiki-l mailing list