Thank you for the useful detailed information. From all of the responses
can I conclude that subpage is a structural way to manage pages through
Namespace mechanism?
Nelson
Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"Brianna Laugher"
<brianna.laugher@
gmail.com> To
Sent by: "MediaWiki announcements and site
mediawiki-l-bounc admin list"
es(a)lists.wikimedi <mediawiki-l(a)lists.wikimedia.org>
a.org cc
Subject
10/03/2007 10:51 Re: [Mediawiki-l]
PM rome:information/weather or
rome/information/weather ?
Please respond to
MediaWiki
announcements and
site admin list
<mediawiki-l@list
s.wikimedia.org>
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/
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l