Extension:CheckGroup

Extension to be used in user profiles, normally inside templates, in order to check whether that page belongs to a user within a certain group.

Usage
This parser tag should be used in a user profile page.

where nameofthegroup can be, for instance,  for wiki administrators.

Please, keep the first parameter always as. With this, pagename + namespace of the current page is retrieved, which is used for checking whether the user belongs to a group specified in the second parameter.

In case of match, 1 is returned. If not, nothing is returned.


 * Example:  This can be used to show in user profiles which users are wiki administrators.

Installation
To install this extension, add the following to LocalSettings.php: