[pmwiki-users] {$Action} broken?
Bart
pmwiki-users at mediamatrix.nl
Mon Aug 28 12:15:39 CDT 2006
On Fri, Aug 25, 2006 at 03:50:00PM -0500, Patrick R. Michaud wrote:
| 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
I just put this in my config.php and it works very well. Thanks Pm :-)
Just out of curiosity. What is actually causing the unwanted behavior?
Bart
More information about the pmwiki-users
mailing list