diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-02 00:14:31 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-02 00:14:31 +0000 |
commit | 2794d7ef5abc4fa8fc2eb42d5c85ada197df0767 (patch) | |
tree | a79c4c81a7cb989fb3cfa5f84a0d8fad831c5085 /doc/todo | |
parent | 418096be9e56f9078c19605f867b44d25ccadf58 (diff) | |
download | ikiwiki-2794d7ef5abc4fa8fc2eb42d5c85ada197df0767.tar ikiwiki-2794d7ef5abc4fa8fc2eb42d5c85ada197df0767.tar.gz |
* Renamed GlobLists to PageSpecs.
* PageSpecs can now include nested parens, "and", and "or". This remains
backwards compatible to the old GlobList format. It's implemented by
treating the GlobList as a very limited microlanguage that is transformed
to perl code that does the matching.
* The old GlobList format is deprecated, and I encourage users to switch to
using the new PageSpec format. Compatability with the old format will be
removed at some point, possibly by 2.0.
* Wiki rebuild needed on upgrade to this version due to PageSpec change.
* Add support for creation_month and creation_year to PageSpec.
Closes: #380680
* Changes to index file encoding.
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/done.mdwn | 2 | ||||
-rw-r--r-- | doc/todo/improve_globlists.mdwn | 4 | ||||
-rw-r--r-- | doc/todo/multiple_templates.mdwn | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/doc/todo/done.mdwn b/doc/todo/done.mdwn index 847d0a2e5..8d01666c0 100644 --- a/doc/todo/done.mdwn +++ b/doc/todo/done.mdwn @@ -1,3 +1,3 @@ recently fixed [[TODO]] items -[[inline pages="link(todo/done) !todo !*/Discussion" show="10"]] +[[inline pages="link(todo/done) and !todo and !*/Discussion" show="10"]] diff --git a/doc/todo/improve_globlists.mdwn b/doc/todo/improve_globlists.mdwn index 80b545e4e..86a4ba154 100644 --- a/doc/todo/improve_globlists.mdwn +++ b/doc/todo/improve_globlists.mdwn @@ -1,6 +1,8 @@ -Need to improve [[globlist]]s, adding more powerful boolean expressions. +Need to improve globlists, adding more powerful boolean expressions. The current behavior is to check for negated expressions, and not match if there are any, then check for normal expressions and match if any match, This fails if you want to do something like match only pages with tag foo that are under directory bar. I think we need parens for grouping, and probably also boolean OR. + +[[todo/done]] diff --git a/doc/todo/multiple_templates.mdwn b/doc/todo/multiple_templates.mdwn index 459a5fa4f..258d584dd 100644 --- a/doc/todo/multiple_templates.mdwn +++ b/doc/todo/multiple_templates.mdwn @@ -2,7 +2,7 @@ > file for some pages; blog pages would use a template different from the > home page, even if both are managed in the same repository, etc. -Well, that would probably be fairly easy to add if it used globlists to +Well, that would probably be fairly easy to add if it used pagespecs to specify which pages use the non-default template. Hmm, I think the pagetemplate hook should allow one to get close enough to |