[pmwiki-users] {$Action} broken?
Patrick R. Michaud
pmichaud at pobox.com
Fri Aug 25 15:50:00 CDT 2006
On Tue, Aug 22, 2006 at 10:52:02PM +0200, Bart wrote:
> On Tue, Aug 22, 2006 at 09:25:25AM -0500, Patrick R. Michaud wrote:
> | On Tue, Aug 22, 2006 at 04:10:13AM +0200, Bart wrote:
> | > When I put {$Action} into my Site/PageActions page it displays all the
> | > action in progress. Only not when action=print it then displays: "browse"
> | > instead of "print"
> |
> | I agree, this is unexpected/undesirable behavior. I'll see
> | about fixing it for the next release.
>
> Thanks for taking care of this Pm, I'll appreciate that :-) Also thanks for
> your input Pico.
The fix didn't make it into the 2.1.15 release, sorry. I'm still
working out exactly what sort of "fix" should be implemented.
However, a very good workaround for the moment is to explicitly
create an ?action=print handler:
$HandleActions['print'] = $HandleActions['browse'];
$HandleAuth['print'] = $HandleAuth['browse'];
Having an explict action entry for 'print' prevents PmWiki
from converting ?action=print into ?action=browse.
(This may in fact become the exact solution I choose to put
in the core.)
Pm
More information about the pmwiki-users
mailing list