-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Lennie Jarratt wrote:
I am setting up several custom namespaces and want to
make sure I have them
correct. Any advice or examples would be very helpful. This is what I have
so far in LocalSettings.php
[snip]
I will be adding a namespace for multiple topics, but
I just want to get
this working with 2 first. I have a few other questions as well:
What goes in the main page for a namespace?
There's no such thing as a main page for a namespace.
There's one main page on the wiki, which is the page which is linked to
from various locations and redirected to when you don't specify any
page. It can be in any namespace. Its title is specified in the message
'MediaWiki:Mainpage'.
Do all pages in the namespace have to be defined as
Illinois:mypage?
Yes; if they didn't have the namespace in their titles then they would
not be in the namespace.
Is there a way to have a page in multiple namespaces?
No.
i.e.say I have Chicago
Illinois which is under Illinois:Chicago. But, Chicago has a group that
wants to make Chicago look different so it becomes its own namespace so I
can do a skin for it. How would I handle that since it needs its own
namespace, yet it is still apart of Illinois?
You might want to be using categories here instead of namespaces.
Namespaces exist primarily to make functional distinctions between
different types of pages which behave in different ways.
- -- brion vibber (brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAkgE4QcACgkQwRnhpk1wk46NbgCgira6JBX70cI/k6gJqxRbnTWs
hS0AnRJFCtb8lmfjvd4/icWV62h7rtav
=rYut
-----END PGP SIGNATURE-----