[pmwiki-users] include failure
Patrick R. Michaud
pmichaud at pobox.com
Fri Jan 27 15:22:45 CST 2006
On Fri, Jan 27, 2006 at 03:16:59PM -0600, JB wrote:
> I just figured out that
>
> (:include PageName:)
>
> will not work on a page that has a read password set.
> Currently it just ignores the include and keeps going.
>
> Is there any way to get an error message when this
> happens? It would have saved me a lot of time!
It's not always an error. :-) Most sites that I run would
definitely prefer to have nothing appear than to have an
error message appearing in the middle of the website.
Still, it can be added as a PITS request. I'm suspecting
we'll ultimately end up with something like
(:include SomePage error=... :)
where the "error=" parameter says what to display if
the include fails.
The difficult issue here is that either default can be
considered "reasonable" depending on the application (and
each default is arguably "wrong" for certain applications).
Pm
More information about the pmwiki-users
mailing list