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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>the</strong>n on, this information is stored in <strong>the</strong> source text. It is replaced<br />

even if <strong>the</strong> user is not logged in; in such cases, <strong>the</strong> user name is replaced<br />

by his or her current IP address.<br />

6.2<br />

Organizing Content<br />

The methods previously described create structures by linking to entries<br />

without providing any specific information about why <strong>the</strong>re is a<br />

connection between <strong>the</strong>m. MediaWiki also offers <strong>the</strong> possibility of<br />

grouping several pages according to function or content-related aspects.<br />

Namespaces and categories serve this purpose.<br />

Namespaces allow a wiki to be divided into various areas. <strong>Pages</strong><br />

having <strong>the</strong> same name can be established in different areas, so that,<br />

in principle, several groups of users can work on a wiki without worrying<br />

about whe<strong>the</strong>r a page name <strong>the</strong>y have selected has already<br />

been taken by someone else. Thus, for example, <strong>the</strong> information<br />

booth and petition groups can each have a separate page in <strong>the</strong>ir own<br />

namespace with <strong>the</strong> same significant name ToDo.<br />

However, in MediaWiki, <strong>the</strong> names of <strong>the</strong>se areas are “hard coded.”<br />

That means that <strong>the</strong>y have been fixed in <strong>the</strong> source code of MediaWiki<br />

and may not be altered by users. Instead, <strong>the</strong>y serve as a<br />

<strong>Function</strong> of<br />

namespaces<br />

Fig. 6.1<br />

6.2 Organizing Content �<br />

�<br />

�<br />

79<br />

Namespaces in<br />

MediaWiki

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

Saved successfully!

Ooh no, something went wrong!