]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/Suggested_location_should_be_subpage_if_siblings_exist.mdwn
minor change
[ikiwiki.git] / doc / todo / Suggested_location_should_be_subpage_if_siblings_exist.mdwn
1 Given a page `/foo` and a subpage `/foo/bar`, if I add a link to `baz` to
2 `/foo` and click on the link to create the page, the suggested location
3 should be `/foo/baz` instead of `/baz`. The rationale is that presence of a
4 sibling folder, or sibling pages (with `usefolders=0`) is a strong hint
5 that we're at the root of a (sub-)hierarchy.
6
7 > I think there's something to be said for consistency, even if it doesn't
8 > make the best guess every time. It makes it more easy to learn when 
9 > you do need to change the location, and learn when default works.
10
11 > In your example, to get the foo/bar page created, you'd need to remember
12 > to change the default when creating that subpage. But only for the first
13 > subpage, after that it would get the default right. But who can remember if
14 > a particular page has a subpage already? You end up having to check every
15 > time anyway. Plus, you'd have to check every time you wanted to create "bar"
16 > from "foo" that it didn't guess you meant "foo/bar".
17
18 > With the current simple default, you at least
19 > know you don't need to check in that fairly common case, which seems like
20 > a win over your suggestion.
21
22 > IMHO, what you really want is [[Moving_pages]]. :-) --[[Joey]]
23
24 [[!tag wishlist]]