|
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(body of plugin) | Wiki text to display if conditions are met. The body may contain {ELSE} . Text after the marker
will be displayed to users not matching the conditions. |
|||
friends |
username | Pipe separated list of users whose friends are allowed to view the block.
Example: admin|johndoe|foo |
4.0 | |
groups |
groupname separator: | |
Pipe separated list of groups allowed to view the block.
Example: Admins|Developers |
1 | |
notpending |
groupname separator: | |
User allowed to view block if membership in the group (or pipe-separated list of groups) is not pending. | 13.0 | |
pending |
groupname separator: | |
User allowed to view block if membership payment to join group (or pipe-separated list of groups) is outstanding. | 13.0 | |
notgroups |
groupname separator: | |
Pipe-separated list of groups not allowed to view the block. | 1 |
{ELSE}
part is optional.
groups
and notgroups
parameters may be used at the same time.
groups="Admins|A"
), and not by group B ( notgroups="B"
), be careful not to include group B in the Admins group . If Admins includes A and B, Admins will not see the section.
{GROUP(groups="Registered|Admins" notgroups="Editors")}show this content for users included/excluded from groups specified in the parameters{ELSE}otherwise show this content{GROUP}
Use of this plugin to hide sensitive information will not prevent it from being revealed to users with permissions to view or edit the page source. Users that have a Watch on the wiki page will receive an email with the entire wiki page source, thus revealing the information regardless whether the content would be hidden because of this plugin.