[pmwiki-users] redirects...

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 12 12:50:49 CST 2005


On Mon, Dec 12, 2005 at 07:47:23PM +0100, Mikael Nilsson wrote:
> mån 2005-12-12 klockan 12:39 -0600 skrev Patrick R. Michaud:
> > 
> > But note that in PmWiki, with very few exceptions, anything that
> > is to be an "on/off" flag variable begins with "$Enable", thus
> > the correct option name would be "$EnableRedirectNote = 0;" .
> 
> Or better:
> 
> (:redirect note=on|off:)

Actually, I was thinking it would be

    (:redirect SomePage msg='special redirect message':)

So, to disable the message one would use

    (:redirect SomePage msg='':)

and omitting the msg= parameter would be the equivalent of

    (:redirect SomePage msg='$[Redirected from] {$FullName}':)

Pm




More information about the pmwiki-users mailing list