]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/underlay.mdwn
add a blog for done items too
[ikiwiki.git] / doc / todo / underlay.mdwn
1 Rather than copy the basewiki around everywhere, it should be configured to
2 underlay the main srcdir, and pages be rendered from there if not in the
3 srcdir. This would allow upgrades to add/edit pages in the basewiki.
4
5 Impementaion will be slightly tricky since currently ikiwiki is hardcoded
6 in many places to look in srcdir for pages. Also, there are possible
7 security attacks in the vein of providing a file ikiwiki would normally
8 skip in the srcdir, and tricking it to processing this file instead of the
9 one from the underlaydir.
10
11 There are also difficulties related to removing files from the srcdir, and
12 exposing ones from the underlaydir. Will need to make sure that the mtime
13 for the source file is zeroed when the page is removed, and that it then
14 finds the underlay file and treats it as newer.
15