]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/absolute_urls_in_wikilinks.mdwn
responses
[ikiwiki.git] / doc / todo / absolute_urls_in_wikilinks.mdwn
1 [[!tag wishlist]]
2
3 An option to have absolute urls in wikilinks instead of relative ones would be useful, 
4 for pages included into other pages out of the wiki rendering process (shtml for example)
5 since these pages can be included from a subdir. Ditto, links from \[[!inline ..]] or \[[!map ..]].
6
7 > You can make a wikilink absolute by prefixing it with a /, see 
8 > [[ikiwiki/subpage/linkingrules/]]. Pagespecs match absolute by default. But what do
9 > you mean "included from a subdir"? If you inline a page, its links shouldn't 
10 > change. --Ethan
11
12 >> I want the "last pages" in my sidebar. and some links to a few special pages.
13 >> \[[!inline ]] or \\[[!map ]] in the sidebar is a bad idea, (because each update rebuilds
14 >> all the wiki), so I use server-side-include instead of the sidebar plugin; 
15 >> this reduces the dependencies
16 >> my sidebar is generated as http://foo.org/menu/index.html, so all the links generated by 
17 >> \[[!inline ]] or \[[!map ]] are relative to this position. 
18 >> Included from http://foo.org/section/sub/blah/index.shtml, the links are broken.
19 >>
20 >> — NicolasLimare