]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/absolute_urls_in_wikilinks.mdwn
web commit by http://subvert.org.uk/~bma/: Argument in favour of Varioki over creatin...
[ikiwiki.git] / doc / todo / absolute_urls_in_wikilinks.mdwn
index 27d69aa42743bf21bfc2fd6bf478bc92e1fe57f1..50c2fe16f654c35c6b888d4e8d7fe3e4fa96f63c 100644 (file)
@@ -2,4 +2,19 @@
 
 An option to have absolute urls in wikilinks instead of relative ones would be useful, 
 for pages included into other pages out of the wiki rendering process (shtml for example)
 
 An option to have absolute urls in wikilinks instead of relative ones would be useful, 
 for pages included into other pages out of the wiki rendering process (shtml for example)
-since these pages can be included from a subdir.
+since these pages can be included from a subdir. Ditto, links from \[[ inline ..]] or \[[map ..]].
+
+> You can make a wikilink absolute by prefixing it with a /, see 
+> [[ikiwiki/subpage/linkingrules/]]. Pagespecs match absolute by default. But what do
+> you mean "included from a subdir"? If you inline a page, its links shouldn't 
+> change. --Ethan
+
+>> I want the "last pages" in my sidebar. and some links to a few special pages.
+>> \[[inline ]] or \\[[map ]] in the sidebar is a bad idea, (because each update rebuilds
+>> all the wiki), so I use server-side-include instead of the sidebar plugin; 
+>> this reduces the dependencies
+>> my sidebar is generated as http://foo.org/menu/index.html, so all the links generated by 
+>> \[[inline ]] or \[[map ]] are relative to this position. 
+>> Included from http://foo.org/section/sub/blah/index.shtml, the links are broken.
+>>
+>> — NicolasLimare