Это старая версия документа!
Содержание
Ссылки
Если ссылка в вики — это не что иное, как любая другая ссылка на любой другой HTML- странице в Интернете, то система ссылок в вики, и особенно в DokuWiki, является весьма важной функцией.
Вы можете создать несколько типов ссылок в DokuWiki, раздел Links section of the syntax page will give you an example of it. However, here we will distinguish two types of links, the Внутренняя ссылка and the external link.
Синтаксис ссылки
Синтаксис ссылок объясняется в разделе Синтаксис ссылок. Страница на страницы объясняется в pagename и namespaces.
Типы ссылок
Внутренняя ссылка
Внутренняя ссылка — это ссылка на страницу, которая находится в вашей собственной установке DokuWiki. Например, это внутренняя ссылка. Создание такой ссылки, конечно, создаст HTML- ссылку на связанную страницу, однако она также сообщит связанной странице, что на нее ссылается какая-то другая страница. Эта функция называется обратной ссылкой. Страница, не имеющая обратной ссылки, называется сиротой.
You can make a link to page in namespace with name page and link to section here using a title like this:
[[namespace:page#here|title]]
Namespace and section links and title are optional.
[[page]] displays the text "page" for the link.
Note that titles are very desirable when using long page names or long link addresses in general. The title should be human readable. For example, links cannot contain spaces (instead replace white space by underscore), but titles can.
Section link
Inside a wiki, the links can be made not only on a page but also on sections. Look at Internal to find out how this is done.
Existing vs non-existing pages
When links are edited, they are checked to see if the linked page exists or not. If the page doesn't exist, the link is given a specific style, i.e. red and underlined in the default template (see also CSS).
External link
External links have no real extra functions as the sites they link to are external. This is an example of an external link.
Interwiki links
See interwiki.