01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Help_talk See Talk.<br />

Category <strong>Pages</strong> can be allocated to categories<br />

which are <strong>the</strong>n accessible in this namespace.<br />

See below.<br />

Category_talk See Talk.<br />

Most pages in <strong>the</strong> namespaces are generated automatically. Special<br />

pages are generated by <strong>the</strong> system before installation, media and image<br />

pages are created when a file is uploaded, and user pages when a<br />

user is active in a wiki. 'Talk' or 'discussion' pages are also generated<br />

along with <strong>the</strong> respective pages. This leaves only <strong>the</strong> pages in Main,<br />

[Project], Template, Help and Category, which can be designed<br />

freely.<br />

To access a page in a particular namespace or, if it is not yet<br />

available, to create one, simply place its name before <strong>the</strong> page title<br />

and separate it with a colon:<br />

[[Help:How do I set a link|]]<br />

In <strong>the</strong> example, <strong>the</strong> pipe symbol was also added. It prevents <strong>the</strong><br />

namespace from being displayed along with <strong>the</strong> link, which facilitates<br />

reading. If you enter a namespace that <strong>the</strong> wiki does not recognize,<br />

<strong>the</strong> page is generated in <strong>the</strong> standard namespace Main. The<br />

portion of <strong>the</strong> link indicated as a namespace is supplemented by <strong>the</strong><br />

title of <strong>the</strong> article and not identified as an area name. A page can<br />

only be allocated to one namespace. The same page name in ano<strong>the</strong>r<br />

namespace generates a new page. In addition, namespaces only exist<br />

on one level; that is, a namespace cannot be subdivided into fur<strong>the</strong>r<br />

namespaces. That is why a new namespace is created for each discussion<br />

page, instead of linking <strong>the</strong> namespace with <strong>the</strong> discussion<br />

page. In searches (see Chapter 6.2), <strong>the</strong> search area can be limited to<br />

individual namespaces.<br />

Unfortunately, <strong>the</strong>re is currently no way for normal users to receive<br />

a listing of all namespaces. The generation of an individual<br />

user namespace is also only possible with access to <strong>the</strong> scripts (see<br />

Chapter 7.1.). However, one can use <strong>the</strong> syntax of <strong>the</strong> namespaces<br />

and simulate an area in <strong>the</strong> namespace Main, by adding an individual<br />

name as a prefix followed by a colon to <strong>the</strong> pages of a desired<br />

area. The general advantages of namespaces remain intact. For instance,<br />

it is possible to use pages having <strong>the</strong> same name in various<br />

“areas” and thus enable various groups to work on a single wiki.<br />

Since this individual “namespace” prefix is a component of <strong>the</strong> page<br />

name, one can now see a display of all pages within <strong>the</strong> “namespace”<br />

by performing a search of <strong>the</strong> prefix.<br />

Accessing<br />

pages in a<br />

namespace<br />

Individual user<br />

namespaces<br />

6.2 Organizing Content �<br />

�<br />

�<br />

81

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!