Tels wrote:
How do you determine whether the parser currently runs
for action=view or
action=preview etc?
You don't. :)
The parser does not (or should not!) know anything about the outside environment.
I would like to generate different output depending on
whether my
extension code is triggered for a preview, or for a save.
Please don't. Among other things, this defeats the purpose of a preview.
-- brion vibber (brion @
pobox.com)