1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>linkingrules</title>
<link rel="stylesheet" href="../../../bootstrap/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="../../../bootstrap/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../../../local.css" type="text/css" />
<meta name="robots" content="noindex, follow" />
<style type="text/css">
@media (max-width: 979px) {
.navbar-fixed-top {
position: fixed;
margin-left: 0px;
margin-right: 0px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="row-fluid">
<div class="span12">
<h1></h1>
<ul class="breadcrumb">
<li><a href="../../../">Cache Saravento</a> <span class="divider">/</span> </li>
<li><a href="../../">ikiwiki</a> <span class="divider">/</span> </li>
<li><a href="../">subpage</a> <span class="divider">/</span> </li>
<li>linkingrules</li>
<li><span class="divider">|</span> <a href="../../../data">Dados</a></li>
<!--<li><span class="divider">|</span> <a href="../../../todo">Tarefas</a></li>-->
<li><span class="divider">|</span> <a href="https://git.fluxo.info/?p=cache.git;a=history;f=ikiwiki/subpage/linkingrules.mdwn">Histórico</a></li>
<li><span class="divider">|</span> <a href="https://git.fluxo.info/cache/atom/?h=master">Feed</a></li>
</ul>
</div>
</div>
<div class="page row-fluid">
<div>
<div class="pageheader">
<div class="header">
<h1>
linkingrules
</h1>
</div>
</div>
<div id="pagebody">
<div id="content">
<p class="pagedate">
<strong>Posted <span class="date">Sáb 04 Out 2008 11:11:08 -03</span></strong>
</p>
<p>To link to or from a <a href="../">SubPage</a>, you can normally use a regular
<a href="../../wikilink/">WikiLink</a> that does not contain the name of the parent directory of
the <a href="../">SubPage</a>. Ikiwiki descends the directory hierarchy looking for a
page that matches your link.</p>
<p>For example, if FooBar/SubPage links to "OtherPage", ikiwiki will first
prefer pointing the link to FooBar/SubPage/OtherPage if it exists, next
to FooBar/OtherPage and finally to OtherPage in the root of the wiki.</p>
<p>Note that this means that if a link on FooBar/SomePage to "OtherPage"
currently links to OtherPage, in the root of the wiki, and FooBar/OtherPage
is created, the link will <em>change</em> to point to FooBar/OtherPage. On the
other hand, a link from BazBar to "OtherPage" would be unchanged by this
creation of a <a href="../">SubPage</a> of FooBar.</p>
<p>You can also specify a link that contains a directory name, like
"FooBar/OtherPage" to more exactly specify what page to link to. This is
the only way to link to an unrelated <a href="../">SubPage</a>.</p>
<p>You can use this to, for example, to link from BazBar to "FooBar/SubPage",
or from BazBar/SubPage to "FooBar/SubPage".</p>
<p>You can also use "/" at the start of a link, to specify exactly which page
to link to, when there are multiple pages with similar names and the link
goes to the wrong page by default. For example, linking from
"FooBar/SubPage" to "/OtherPage" will link to the "OtherPage" in the root
of the wiki, even if there is a "FooBar/OtherPage".</p>
<p>Also, if the wiki is configured with a userdir, you can link to pages
within the userdir without specifying a path to them. This is to allow for
easy linking to a user's page in the userdir, to sign a comment. These
links are checked for last of all.</p>
</div>
<hr />
</div>
<div id="footer" class="pagefooter">
<div id="pageinfo">
<div id="backlinks">
Links:
<a href="../">subpage</a>
<a href="../../wikilink/">wikilink</a>
</div>
<!--<div class="pagedate">
Last edited <span class="date">Qua 11 Jan 2017 16:18:52 -02</span>
</div> -->
</div>
<!-- from Cache Saravento -->
</div>
</div>
<div class="span4">
</div>
</div>
</div>
</body>
</html>
|