X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/883acbb44cf6a8c037b49c73231e3f3276a42eee..a32f0a64fe4d7fb43972ff830f584c1c6a3e73a8:/doc/todo/absolute_urls_in_wikilinks.mdwn diff --git a/doc/todo/absolute_urls_in_wikilinks.mdwn b/doc/todo/absolute_urls_in_wikilinks.mdwn index 5120c6568..a0fe83e44 100644 --- a/doc/todo/absolute_urls_in_wikilinks.mdwn +++ b/doc/todo/absolute_urls_in_wikilinks.mdwn @@ -1,18 +1,20 @@ -[[tag wishlist]] +[[!tag wishlist]] 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. Ditto, links from \[[ inline ..]] or \[[map ..]]. +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 -> [[subpage/linkingrules/]]. Pagespecs match absolute by default. But what do +> [[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 +>> \[[!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. +>> \[[!inline ]] or \[[!map ]] are relative to this position. >> Included from http://foo.org/section/sub/blah/index.shtml, the links are broken. +>> +>> — NicolasLimare