[pmwiki-users] page actions when viewing a nonexistent page

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 9 14:42:30 CST 2006


On Thu, Feb 09, 2006 at 02:35:19PM -0600, Tegan Dowling wrote:
>    On 2/9/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> 
>      On Wed, Feb 08, 2006 at 02:34:21PM -0600, Jon Haupt wrote:
>      >    I'm not sure if this is a bug report or a feature request, but it'd
>      be
>      >    nice if at least there was some way to specify to the link engine
>      that I
>      >    didn't want to rewrite ?action=whatever to ?action=edit just
>      because the
>      >    page doesn't exist.
> 
>      There's a kludgy workaround -- you can always write the link as
>          {PageName$PageUrl}?action=whatever and the link engine won't
>          rewrite it.  :-)
> 
>    I tried
>          [[{$Group}/{GroupAttributes$PageUrl}?action=attr | Group
>    Attributes]]
>    But it doesn't work, stripping the "$" out and creating a link to
>    Group/PageNamePageUrl, instead.

It's just [[{GroupAttributes$PageUrl}?action=attr | Group Attributes]],
and you'd have to be running 2.1.beta15 or later in order for it
to work ({$PageUrl} didn't exist in 2.0).

But even in 2.0.12 you ought to be able to write an explicit url:

    [[http://www.example.com/pmwiki/pmwiki.php?n={$Group}.GroupAttributes&action=attr | Group Attributes]]

Pm





More information about the pmwiki-users mailing list