On 04/10/2007, Nelson A Li <nli(a)csc.com> wrote:
I don't want to flood all mediawiki experts'
mailboxes, but I am curious to
ask what is the advantage of creating subpages?
The main advantage is conceptual, for understanding the structure or
relationship between the different pages.
Special:Prefixindex is also useful for subpages structures.
Note that by default, no namespaces support subpages. You have to turn
it on in LocalSettings.php. See
http://www.mediawiki.org/wiki/Manual:%24wgNamespacesWithSubpages#Enabling_f…
AFAIK there are two differences between subpages being enabled or not.
The first difference is if subpages are enabled, you will get an
automatic backlink to the parent page.
The second difference is that relative linking works. So if you have
[[Rome]], [[Rome/Information]] and [[Rome/Information/Weather]], on
[[Rome/Information]] you can have links like
[[..|the main page]] (links to [[Rome]], I think)
[[/Weather]] (links to [[Rome/Information/Weather]])
[[../Information2]] (links to [[Rome/Information2]])
If it's not enabled, you've just created a page that happens to have a
slash in the title. Like "AC/DC" - if subpages are enabled, "DC" is a
subpage of "AC". If they're not enabled, it's just a string that
happens to have a slash.
To see subpages used extensively I recommend checking out Wikibooks.
http://en.wikibooks.org/
regards,
Brianna
--
They've just been waiting in a mountain for the right moment:
http://modernthings.org/