X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/1253db7de2ea703e03866436bed9c50561971de9..888ff17819b330de63fa7e73709b0475b12111ca:/basewiki/pagespec.mdwn?ds=sidebyside diff --git a/basewiki/pagespec.mdwn b/basewiki/pagespec.mdwn index 0890e399f..53519e7f0 100644 --- a/basewiki/pagespec.mdwn +++ b/basewiki/pagespec.mdwn @@ -1,6 +1,6 @@ To select a set of pages, such as pages that are locked, pages whose commit emails you want subscribe to, or pages to combine into a -[[blog]], the wiki uses a PageSpec. This is an expression that matches +blog, the wiki uses a PageSpec. This is an expression that matches a set of pages. The simplest PageSpec is a simple list of pages. For example, this matches @@ -45,6 +45,12 @@ of two tags, use: blog/* and (link(tag/foo) or link(tag/bar)) +Note that page names in PageSpecs are matched against the absolute +filenames of the pages in the wiki, so a pagespec "foo" used on page +"a/b" will not match a page named "a/foo" or "a/b/foo". To match +relative to the directory of the page containing the pagespec, you can +use "./". For example, "./foo" on page "a/b" matches page "a/foo". + ## Old syntax The old PageSpec syntax was called a "GlobList", and worked differently in