ConditionalExtensions-Talk

Summary: Talk page for ConditionalExtensions.
Maintainer: Dfaure
Users: (View? / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

Comments

PmWiki doesn't seem to incorporate this recipe's booleans as claimed.

(:if ge 1 2:)
1 >= 2  error
(:else:)
1 < 2    correct
(:ifend:)

1 < 2 correct

RandyB July 25, 2019, at 09:53 PM

Only (:if expr ...:) / (:if [ ...:) was incorporated, see Conditional markup. I've enabled the recipe on this page and (:if ge 1 2 :) appears to work. --Petko July 26, 2019, at 03:42 AM


I just modified your routine to remove all references to "/e". Would you be willing to check it and verify that it is accurate? How can I upload it for you to see? DannyB Oct. 31, 2014

This has been fixed in latest release --Dfaure February 17, 2015, at 09:46 AM

In my wiki this:

(:if ( ! {$:Val} ) :)false(:else:)true(:if:)

returns true.

Val is unset, so why isn't it false? But even by writing (:Val::), (:Val:0:), or (:Val:false:) it keeps returning true.

Nick - 2007.12.19

ps. is there no way to nest conditions? maybe with some cookbook recipe I haven't discovered yet?


It's not the same as conditional markup, but conditional markup expressions are possible via WikiSh.php

Peter Bowers March 23, 2008, at 06:12 AM

Talk page for the ConditionalExtensions recipe (users?).