response
[ikiwiki] / doc / todo / pagespec_expansions.mdwn
1 A couple of suggestions for improving the usefulness of pagespecs:
2
3 * @ to match [^/]* (i.e. all pages exactly one level below this one)
4 * initial ./ to mean "from the page the pagespec is running from".
5   This would require some architectural changes and a change to the
6   interface for pagespec_match. What do you think? I have
7   lots of pages a/b/c.mdwn that inline "a/b/c/*".
8
9 --Ethan
10
11 > I want this too, so that the [[examples]] can use pagespecs that don't
12 > have to be changed when the pages are moved around. I don't know how I
13 > feel about the "@" thing, but "./" seems good. I take it you've looked at
14 > how to implement it?
15 >
16 > It's worth mentioning that there's a bit of an inconsistency; wikilinks
17 > match relative by default and absolute if prefixed with a "/", while
18 > pagespecs match absolute by default. It would be nice to clear up that
19 > inconsistency somehow, it's on my little list of things in ikiwiki that
20 > arn't ideal. :-) --[[Joey]]