[Moin-user] Error message for Macro input errors.

Thomas Waldmann tw-public at gmx.de
Fri May 1 10:40:13 EDT 2009

> I am writing a macro which needs some arguments. I wonder if it is
> possible to detect if the page is being previewed?
> I would display error message in preview mode, but silently ignore
> errors when the page is viewed by a regular user?

Interesting idea, but after thinking about it, I don't think one really
wants that. An error should show as long as until it is fixed. Otherwise
some not carefully looking (or not previewing at all) editor will
introduce errors and noone will see and fix them.

More information about the Moin-user mailing list