<br><br><div><span class="gmail_quote">On 2/8/06, <b class="gmail_sendername">Jon Haupt</b> <<a href="mailto:jhaupt@gmail.com">jhaupt@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The engine rewrites all page actions on non-existent pages to action=edit. When viewing a nonexistent page (
i.e. <a href="http://pmwiki.org/wiki/Foo/Bar" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://pmwiki.org/wiki/Foo/Bar</a>),
it shows how the process works nicely to make sure that the engine
doesn't have to bother with requests to, for example, print a
nonexistent page.
<br><br>That is a good idea for actions such as diff, print, source,
view, etc., but there are actually actions that you can do on any page,
regardless of whether it exists or not, i.e. attr, or with
recipes--totalcounter, setskin, etc.
<br><br>As an example of why this is annoying, I have a link on my menu that reads <br>*[[{$Group}.GroupAttributes?action=attr| Group Attributes ]]<br><br>Until
I actually assign GroupAttributes for a particular group, the wiki will
always show a link to GroupAttributes?action=edit instead.
<br><br>Similarly, if I have links to {$Name}?action=setskin in the
menus, they won't look right on the screen if I'm viewing a nonexistent
page.<br><br>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.
</blockquote><div><br>
<br>
Does anyone have a work-around for this: <br>
<br>
"As an example of why this is annoying, I have a link on my menu that reads <br>
*[[{$Group}.GroupAttributes?action=attr| Group Attributes ]]<br>
<div id="mb_0"><br>Until
I actually assign GroupAttributes for a particular group, the wiki will
always show a link to GroupAttributes?action=edit instead."<br>
<br>
?<br>
</div>
</div><br></div><br>