diff options
author | Joey Hess <joey@kitenet.net> | 2007-12-23 12:13:48 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2007-12-23 12:13:48 -0500 |
commit | 64428ba40f97b48a2d04e57a4072ad6eadf06cd5 (patch) | |
tree | 74a5276b1582c036251ad09cd36b8f403ab1ba0b /doc/forum | |
parent | 6a43462e0e0e66386819d6d126f3c281a86e0507 (diff) |
followup
Diffstat (limited to 'doc/forum')
-rw-r--r-- | doc/forum/paths_to_files_outside_the_wiki_root.mdwn | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/forum/paths_to_files_outside_the_wiki_root.mdwn b/doc/forum/paths_to_files_outside_the_wiki_root.mdwn index bab6396f5..c1c6466cc 100644 --- a/doc/forum/paths_to_files_outside_the_wiki_root.mdwn +++ b/doc/forum/paths_to_files_outside_the_wiki_root.mdwn @@ -19,4 +19,16 @@ But not even the symlink solution works, since I have only two choices, specify Yes, that would solve it. A part of me wanted though that it should be possible to put a symlink called publicfiles that basically points to wikiroot/../publicfiles, and have the ability to link to files with wikisyntax anyway. But it doesn't work since symlinks are dangerous, and.. how would ikiwiki know how to interpret a relative link, relative to source dir or dest dir (etc..)? I'll have to put all my images and publicfiles into the wiki; it is principally wrong since publicfiles are tar.gz (and a few .deb files) for software, but it is practically ok since the individual files are not more than 150K and I don't have anything against archiving them. --ulrik -To try to formalize and clarify my first proposal: An administrator would be able for each wiki to create a list of off-wiki "places" that are accessed via certain items in the wiki root (or could be under a subpage too of course). The example is illustrated by publicfiles and the symlink, but a non-symlink solution would probably be better. A natural way to specify off-wiki places are absolute URLs, but also relative to the wiki root, since that would fit to my case. Just like you can't go out of the wiki root, you should not be able to go up from such an external resource. This should all be done in some plugin of course. I'll have to learn Perl before I write the plugin though :) --ulrik +> You know, you don't need to check the files into revision control, they +> can just be put in the srcdir of the wiki outside revision control. + +To try to formalize and clarify my first proposal: An administrator would +be able for each wiki to create a list of off-wiki "places" that are +accessed via certain items in the wiki root (or could be under a subpage +too of course). The example is illustrated by publicfiles and the symlink, +but a non-symlink solution would probably be better. A natural way to +specify off-wiki places are absolute URLs, but also relative to the wiki +root, since that would fit to my case. Just like you can't go out of the +wiki root, you should not be able to go up from such an external resource. +This should all be done in some plugin of course. I'll have to learn Perl +before I write the plugin though :) --ulrik |