diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-06 21:17:25 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-06 21:17:25 +0000 |
commit | 58141a0ebcdf3313a83af712b83f8acd1c08aa3b (patch) | |
tree | 03deba83be19c00ed111eea7b23f208eba69ba4f /doc/plugins | |
parent | 46f0f5bdc23139f0a382e608904c2acc8a774e73 (diff) |
* Patch based on a patch from Ethan to support relative matching in
PageSpecs, by using "./". pagespec_match() has grown a new third parameter
to support this.
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/write.mdwn | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index d0f256ca2..d822408c2 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -312,10 +312,12 @@ page created from it. (Ie, it appends ".html".) Makes the specified page depend on the specified [[PageSpec]]. -#### `pagespec_match($$)` +#### `pagespec_match($$;$)` -Passed a page name, and a [[PageSpec]], returns true if the [[PageSpec]] -matches the page. +Passed a page name, a [[PageSpec]], and the location the glob should be +matched against, returns true if the [[PageSpec]] matches the page. (If the +third parameter is not passed, relative PageSpecs will match relative to +the top of the wiki.) #### `bestlink($$)` |