PmWiki version 2.2.16 changed the markup to allow conditional "exists" to use 
wildcards. But now how do I reference the underlying page, as opposed to 
specifying a wildcard?

For example, put the following markup in WikiSandbox and also in any page that 
does not yet exist (using preview to see the result). The results used to be 
"Main.WikiSandbox exists" and "Main.UnsavedPage doesn't exist", but now both 
return "doesn't exist".

(:markup:)
(:if !exists "{*$FullName}":)
{*$FullName} doesn't exist
(:else:)
{*$FullName} exists
(:ifend:)
(:markupend:)

-- Randy
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to