DokuWiki

It's better when it's simple

User Tools

Site Tools


pagename

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Both sides next revision
pagename [2012-05-19 12:52]
Michitux old revision restored
pagename [2020-09-22 12:17] (current)
Aleksandr old revision restored (2017-10-12 15:20)
Line 1: Line 1:
 ====== Page Names ====== ====== Page Names ======
 +
 +The pagename is the component of the URL that specifies the page. For example, the URL of the page you are
 +currently reading is %%https://www.dokuwiki.org/pagename%%, and its page name is "pagename".
  
 [[Page]] names in [[DokuWiki]] are converted to lowercase automatically. Allowed characters are letters, digits and, within names ((i.e. you cannot start or end names with them, resp. they will be eliminated at start or end of names)), the "special characters" ''.'', ''-'' and ''_''. All other special characters (i.e. other than letters and digits -- whitespace, plus, slash, percent, etc.) are converted to underscores ((or whatever is configured in the [[config:sepchar|sepchar setting]])) . Colons ('':'') are used to identify [[namespaces]] ((This can be changed to forward slashes to more naturally mirror your data filesystem hierarchy: [[config:useslash]] )). [[Page]] names in [[DokuWiki]] are converted to lowercase automatically. Allowed characters are letters, digits and, within names ((i.e. you cannot start or end names with them, resp. they will be eliminated at start or end of names)), the "special characters" ''.'', ''-'' and ''_''. All other special characters (i.e. other than letters and digits -- whitespace, plus, slash, percent, etc.) are converted to underscores ((or whatever is configured in the [[config:sepchar|sepchar setting]])) . Colons ('':'') are used to identify [[namespaces]] ((This can be changed to forward slashes to more naturally mirror your data filesystem hierarchy: [[config:useslash]] )).
Line 7: Line 10:
 An implicit constraint on pagename lengths is set by [[backlinks]] (pagenames need to have 3 chars at least to be considered in backlinks). An implicit constraint on pagename lengths is set by [[backlinks]] (pagenames need to have 3 chars at least to be considered in backlinks).
  
-Most templates, including the default, present the full pagename and the [[namespaces|namespaces]] in its path, at the top left corner of the page. For example this page's name is ''pagename''((This can be changed.  See, for example, the [[config:useheading]] setting.))+Most templates, including the default, present somewhere the full pagename and the [[namespaces|namespaces]] in its path. The 'dokuwiki' template places it in the tab on the top right corner of the page. For example this page's name is ''pagename''.
  
 When linking to other Wikis using [[InterWiki]] links the name restrictions of these Wikis apply. When linking to other Wikis using [[InterWiki]] links the name restrictions of these Wikis apply.
  
-Even when [[wp>CamelCase]] (aka. WikiWord) is enabled in the [[config]] file the pagenames will remain lowercase.+Even when [[wp>CamelCase]] (aka. WikiWord) is enabled by the [[config:camelcase|CamelCase config]] the pagenames will remain lowercase.
  
  
 **Note** All restrictions given here for pagenames do apply to media files as well! **Note** All restrictions given here for pagenames do apply to media files as well!
 +
  
 ===== Pagenames and Namespaces ===== ===== Pagenames and Namespaces =====
Line 69: Line 73:
 :!: This hack, used by me a few years and announced to the User-Forum, seems not to work with Anteater. \\ :!: This hack, used by me a few years and announced to the User-Forum, seems not to work with Anteater. \\
 :?: Any idea, to have it there too? \\ :?: Any idea, to have it there too? \\
 +
 +Also see [[https://forum.dokuwiki.org/thread/5417|this thread]].
  
pagename.1337424768.txt.gz ยท Last modified: 2012-05-19 12:52 by Michitux