Extension:UserRightsMagic

The UserRightsMagic extension provides useful 'magic word' related to the current user's rights.

Usage

 * 1)  returns 'true' if the current user, e.g.
 * 2)  returns 'true' if the current user is a member of 'group', e.g.
 * 3)  returns the group name at 'index' in the current user's group membership list, e.g.
 * 4)  returns the number of groups the current user is member of *not* counting the '*' (default group) and 'user' (default for logged in users),  e.g.
 * 5)  returns 'true' if the current user is logged in, e.g.

Installation

 * 1) Download the files from here
 * 2) Create a directory   in your   directory
 * 3) Extract the files to this   directory
 * 4) Add to the end of LocalSettings.php:
 * 5) Installation can now be verified through Special:Version on your wiki