summaryrefslogtreecommitdiff
path: root/basewiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-03 16:55:52 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-03 16:55:52 +0000
commit1253db7de2ea703e03866436bed9c50561971de9 (patch)
tree62122d917450f5e592b2b7c76dfb4684282d5ab9 /basewiki
parent14d107ee6bf9dfcec3e14f766658d88a818f5a95 (diff)
* Added created_before and created_after PageSpec limits.
Diffstat (limited to 'basewiki')
-rw-r--r--basewiki/pagespec.mdwn21
1 files changed, 14 insertions, 7 deletions
diff --git a/basewiki/pagespec.mdwn b/basewiki/pagespec.mdwn
index 64710a2a5..0890e399f 100644
--- a/basewiki/pagespec.mdwn
+++ b/basewiki/pagespec.mdwn
@@ -21,16 +21,23 @@ match all pages except for Discussion pages and the SandBox:
* and !SandBox and !*/Discussion
-It's also possible to match pages that link to a given page, by writing
-"`link(page)`". Or, match pages that a given page links to, by
-writing "`backlink(page)`". Or match pages created in a given month, year,
-or day of the month by writing "`creation_month(month)`",
-"`creation_year(year)`" or "`creation_day(mday)`".
+Some more elaborate limits can be added to what matches using any of these
+functions:
+
+* "`link(page)`" - match only pages that link to a given page
+* "`backlink(page)`" - match only pages that a given page links to
+* "`creation_month(month)`" - match only pages created on the given month
+* "`creation_day(mday)`" - or day of the month
+* "`creation_year(year)`" - or year
+* "`created_after(page)`" - match only pages created after the given page
+ was created
+* "`created_before(page)`" - match only pages created before the given page
+ was created
For example, to match all pages in a blog that link to the page about music
-and were written on Mondays in 2005:
+and were written in 2005:
- blog/* and link(music) and creation_year(2005) and creation_day(0)
+ blog/* and link(music) and creation_year(2005)
More complex expressions can also be created, by using parentheses for
grouping. For example, to match pages in a blog that are tagged with either