1Condition Plugin for DokuWiki
6 <if [condition_list]>doku code</if>
7 or <if [condition_list]>doku code<else>doku code</if>
9 [condition_list] is a set of [condition] records separated by logical operators (&&, and, ||, or, ^, xor for now), use of parenthesis is allowed, negation is achieved by using heading ! (ex !foo=bar or !(a=b || c<d) )
11 [condition] is formed from a [key], followed by an [operator] (optionnal) and then a [value] (optionnal)
13 [key] is in the list (defined in base_tester.php as of 2009/06/10) :
14 - user : refers to the user "login" (like in $_SERVER['REMOTE_USER'])
15 - group : refers to the user group-set
16 - nsread : refers to the ability of the user to read a namespace
17 - nsedit : refers to the ability of the user to edit a namespace
18 - IP : refers to the client's IP address
20 [operator] signification is [key] dependent, for example :
21 - = (==) : equality, membership, read/edit ability on ...
22 - != : non-equality, non-member, no read/edit ability on ...
23 - ...
24 (browse base_tester.php for test_* methods for more information)
26 [value] can be a string (whitespace, ) and > free) or a " delimited string (whitespaces, ) and > are then allowed)
28All documentation for the User Subscriptions Plugin is available online at:
31(c) 2009 by Etienne Meleard <firstname.lastname@example.org>, (c) 2013 by Gerry Weißbach <email@example.com> See COPYING for license info.