diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-09 13:02:10 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-09 13:02:10 -0400 |
commit | 769b78df078d0287a10166ce828941a491858ff2 (patch) | |
tree | 4a418813976c146383d26678aa4df6aedec19b56 /doc | |
parent | c7da9911580e9311981758922d354aea03b8074c (diff) | |
download | ikiwiki-769b78df078d0287a10166ce828941a491858ff2.tar ikiwiki-769b78df078d0287a10166ce828941a491858ff2.tar.gz |
pagespec_match_list allow additional pagespec limit parameters again
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/write.mdwn | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index f6ea76c36..9661bf4de 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -636,6 +636,9 @@ is significantly more efficient than calling `add_depends` and `pagespec_match` in a loop. You should use this anytime a plugin needs to match a set of pages and do something based on that list. +Unlike pagespec_match, this may throw an error if there is an error in +the pagespec. + Additional named parameters can be specified: * `deptype` optionally specifies the type of dependency to add. Use the @@ -650,8 +653,8 @@ Additional named parameters can be specified: * `list` makes it only match amoung the specified list of pages. Default is to match amoung all pages in the wiki. -Unlike pagespec_match, this may throw an error if there is an error in -the pagespec. +Any other named parameters are passed on to `pagespec_match`, to further +limit the match. #### `add_depends($$;$)` |