[Mediawiki-l] Namespaces v Categories

Tim Ware tim at hyperarts.com
Sun Nov 5 19:41:46 UTC 2006


I am building a wiki for an author and will have alphabetical guides  
to 4 of his novels. I have read about namespaces and categories and  
wonder what is the best way to do this. It appears that creating a  
namespace for each novel would be the way to go.

I understand that I'll have to add them in the LocalSettings.php  
file. I understand that I can use numbers 100+ in the array of new  
namespaces, and that even numbers are for regular pages and odd  
numbers are for discussion pages.

Then, to create the alpha page "A" for the novel "GR" the link would be:

[[GR:A|Gertrude's Dilemma - A]]  (that's a pipe after the A)

If someone could point me to what the additions would be in  
LocalSettings.php, that'd be great.

I understand that the default search would search all 4 novel's  
namespaces. Also, registered users would be able to edit pages in any  
of the 4 namespaces.

I already created an A-Z menu of links, eg GR_-_A, GR_-_B, etc. I  
assume that after I've added the namespaces in LocalSettings.php, I  
can move/rename these pages to GR:A, GR:B, etc., yes?

Finally, if I've created a discussion namespace for a novel and I  
want to add a discussion link after one particular entry on an  
alphabetical listing page, what is the syntax for this?

Thanks. Tim





......................................................... ! ............ 
.....................................................
Tim Ware .. HyperArts .. 201 - 4th Street Ste 404 .. Oakland CA 94607
        t: (510) 339-6084 .. f: (510) 339-6086 .. e: tim at hyperarts.com
                                       http://www.hyperarts.com





More information about the MediaWiki-l mailing list