===== Links ===== DokuWiki supports multiple ways of creating links. ==== External ==== External links are recognized automagically: http://www.google.com or simply www.google.com - You can set the link text as well: [[http://www.google.com|This Link points to google]]. Email addresses like this one: are recognized, too. DokuWiki supports multiple ways of creating links. External links are recognized automagically: http://www.google.com or simply www.google.com - You can set link text as well: [[http://www.google.com|This Link points to google]]. Email addresses like this one: are recognized, too. ==== Internal ==== Internal links are created by using square brackets. You can either just give a **pagename** or use an additional **ink text**. Wiki pagenames are converted to lowercase automatically, special characters are not allowed. For details about namespaces see [[:wiki:samples:namespaces]]. Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[wiki:samples:links#internal|this Section]]. This links to [[wiki:samples:links#internal|this Section]]. Notes: * Links to existing pages are shown in a different style from nonexisting] ones. * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much. === colored internal links === syntax :\\ linkcolor :XXX or XXXXXX HEX-Values\\ hovercolor:XXX or XXXXXX HEX-Values\\ with hover [[:#aa0#0a0#:start|STARTSEITE]] [[:#linkcolor#hovercolor#link|Description]] without hover [[:#a0a#:start|STARTSEITE]] [[:#linkcolor#link|Description]] ==== Interwiki ==== DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]]. DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]]. ==== Windows Shares ==== Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp>Intranet]]. Windows Shares like [[\\server\share|this]] are recognized, too. Notes: * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone"). * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/userscript.js'': LANG.nosmblinks = '';