This might hark back a long time and may have been in for general use once,<div>because I have also seen</div><div>(:redirect [[Group.Page]]:)</div><div>generated I think by the rename page recipe.</div><div>I don't mind fixing PmWiki if we need to.</div>
<div><br></div><div>Simon<br><br><div class="gmail_quote">On 20 May 2010 10:23, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Wednesday 19 May 2010 13:06:54, Simon wrote :<br>
<div class="im">> I'm wondering if the markup<br>
><br>
> (:if exists [[{$Name}-Talk]]:)Discussion: [[{$Name}-Talk]](:ifend:)<br>
><br>
> which is widely used in the cookbook<br>
><br>
> is now broken and must be fixed<br>
<br>
</div>Indeed. :-/<br>
<div class="im"><br>
> (:if exists {$Name}-Talk:)Discussion: [[{$Name}-Talk]](:ifend:)<br>
><br>
> Could this have happened with the recent wildcard change?<br>
<br>
</div>Likely -- previously the string was normalized to become a valid pagename,<br>
automatically removing all non-pagename characters like [, *, ? etc. The new<br>
conditional expects a number of extra characters to have a meaning.<br>
<br>
The previous conditional worked with brackets, but I don't think it was really<br>
designed for this. And in our documentation we have the correct line :<br>
<br>
(:if exists PAGENAME:) - true if the page pagename exists<br>
<br>
I wonder if there are wikis other than our Cookbook that rely on the previous<br>
conditional expression.<br>
<font color="#888888"><br>
Petko<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div>