internal pages are already matched specially...

master
http://smcv.pseudorandom.co.uk/ 2009-07-26 07:03:32 -04:00 committed by Joey Hess
parent ea30193af2
commit a722a85507
1 changed files with 7 additions and 0 deletions

View File

@ -21,3 +21,10 @@ pagespec, and implicitly add "and !internal()" to it.
Either approach would require fully parsing the pagespec. And consider cases
like "!(foo and !bar)". Doesn't seem at all easy to solve. --[[Joey]]
> It occurs to me that at least one place in ikiwiki optimizes by assuming
> that pagespecs not mentioning the word "internal" never match internal
> pages. I wonder whether this bug could be solved by making that part of
> the definition of a pagespec, rather than a risky optimization
> like it is now? That seems strange, though - having this special case
> would make pagespecs significantly harder to understand. --[[smcv]]