Difference between revisions of "Wiki Page Naming"

From AccountIT
Jump to: navigation, search
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
  
 +
=Page name=
 
* Page names consists of multiple parts: '''<font color=red><nowiki>Namespace</nowiki></font>:<font color=blue><nowiki>Title</nowiki></font>/<font color=green><nowiki>Subpagetitle</nowiki></font>'''
 
* Page names consists of multiple parts: '''<font color=red><nowiki>Namespace</nowiki></font>:<font color=blue><nowiki>Title</nowiki></font>/<font color=green><nowiki>Subpagetitle</nowiki></font>'''
 
** Examples
 
** Examples
Line 8: Line 9:
 
*** <font color=blue>Std:out</font>
 
*** <font color=blue>Std:out</font>
 
*** <font color=blue>/dev/null</font>
 
*** <font color=blue>/dev/null</font>
 +
 +
==Namespace==
 +
* Prefixes, separated from title by colon ":"
 +
* '''Not all prefixes that end with ":" are namespaces!'''
 +
**Available prefxes provided by MediaWiki, more can be added in configuration
 +
***Default:''Main''(empty)
 +
***User
 +
***Category
 +
***Template
 +
***Help
 +
***MediaWiki
 +
***File
 +
***Special
 +
***Project(sitename)
 +
**The purpose is to distinguish basic "content types"
 +
*Namespaces can have aliases (ex. File: and Image:)
 +
*Special: is for pages that has fixed functionality, Editing is '''NOT''' possible here.
 +
*Every namespace has a talk version; Talk User talk,...
 +
 +
 +
==Subpages==
  
 
[[Category:Wiki]]
 
[[Category:Wiki]]
 +
* Postfixes, seperated from title by slash "/"
 +
* '''Not all postfixes after "/" are subpages!'''
 +
** Enable for certain namespaces
 +
** By default only for User and all Talk pages
 +
* Often not appropriate for organising pages (rigid, hierarchical content structure)
 +
* Small difference to pages with "/" in title
 +
** For exsample when moving pages

Latest revision as of 13:44, 18 February 2015

Page name

  • Page names consists of multiple parts: Namespace:Title/Subpagetitle
    • Examples
      • USER:Pierre/Tests
      • KMD
      • Talk:KMD
      • 2001:A space Odyssey
      • Std:out
      • /dev/null

Namespace

  • Prefixes, separated from title by colon ":"
  • Not all prefixes that end with ":" are namespaces!
    • Available prefxes provided by MediaWiki, more can be added in configuration
      • Default:Main(empty)
      • User
      • Category
      • Template
      • Help
      • MediaWiki
      • File
      • Special
      • Project(sitename)
    • The purpose is to distinguish basic "content types"
  • Namespaces can have aliases (ex. File: and Image:)
  • Special: is for pages that has fixed functionality, Editing is NOT possible here.
  • Every namespace has a talk version; Talk User talk,...


Subpages

  • Postfixes, seperated from title by slash "/"
  • Not all postfixes after "/" are subpages!
    • Enable for certain namespaces
    • By default only for User and all Talk pages
  • Often not appropriate for organising pages (rigid, hierarchical content structure)
  • Small difference to pages with "/" in title
    • For exsample when moving pages