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
--
Signed on Thu Apr 13 19:29:07 2006 with key 0x93B84C15.
Visit my photo gallery at
http://bloodgate.com/photos/
PGP key on
http://bloodgate.com/tels.asc or per email.
"You know the world is going crazy when the best rapper is a white guy,
the best golfer is a black guy, the tallest guy in the NBA is Chinese,
the Swiss hold the America's Cup, France is accusing the U.S. of
arrogance, Germany doesn't want to go to war, and the three most
powerful men in America are named 'Bush', 'Dick', and 'Colon'.
Need I
say more?" -Chris Rock