projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fbfcd1
)
expand the set of things that can be matched contentless
author
Joey Hess
<joey@gnu.kitenet.net>
Sun, 4 Oct 2009 20:01:56 +0000
(16:01 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Sun, 4 Oct 2009 20:01:56 +0000
(16:01 -0400)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index c059a9b9f8b3c23b1faf1443cefd7d0692218168..5e5dc739d2696cce58374c2717b453d104521f11 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-1982,9
+1982,7
@@
sub pagespec_contentless ($) {
while ($spec=~m{
(\w+)\([^\)]*\) # only match pagespec functions
}igx) {
- # only glob and internal can be matched contentless
- # (first approximation)
- return 0 if $1 ne "glob" && $1 ne "internal";
+ return 0 unless $1=~/^(glob|internal|creation_month|creation_day|creation_year|created_before|created_after)$/;
}
return 1;