Moin,
On Wednesday 12 April 2006 20:33, Brion Vibber wrote:
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.
So please tell my how my extension can know about preview or not preview. For reasons why this is actually desirable, see my other email. :)
If the Parser should not know, then something else must know and be able to pass the knowledge on. If it can't, then extensions producing files are forever leaking files and thus clobbering disks up :(
Best wishes,
Tels